Mercurial > sdl-ios-xcode
diff src/video/cocoa/SDL_cocoavideo.m @ 4810:7a602fd2121f
OK, it appears that dramatic hacks are not necessary to make Cocoa work...
author | Eli Gottlieb <eligottlieb@gmail.com> |
---|---|
date | Mon, 26 Jul 2010 20:41:45 -0400 |
parents | 5e1f9cb9fa98 |
children | 5660aac926e9 |
line wrap: on
line diff
--- a/src/video/cocoa/SDL_cocoavideo.m Mon Jul 26 17:27:04 2010 -0400 +++ b/src/video/cocoa/SDL_cocoavideo.m Mon Jul 26 20:41:45 2010 -0400 @@ -92,6 +92,11 @@ device->SetWindowGrab = Cocoa_SetWindowGrab; device->DestroyWindow = Cocoa_DestroyWindow; device->GetWindowWMInfo = Cocoa_GetWindowWMInfo; + + device->shape_driver.CreateShaper = Cocoa_CreateShaper; + device->shape_driver.SetWindowShape = Cocoa_SetWindowShape; + device->shape_driver.ResizeWindowShape = Cocoa_ResizeWindowShape; + #ifdef SDL_VIDEO_OPENGL_CGL device->GL_LoadLibrary = Cocoa_GL_LoadLibrary; device->GL_GetProcAddress = Cocoa_GL_GetProcAddress;