Mercurial > sdl-ios-xcode
comparison 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 |
comparison
equal
deleted
inserted
replaced
4809:329708ffe2a7 | 4810:7a602fd2121f |
---|---|
90 device->MinimizeWindow = Cocoa_MinimizeWindow; | 90 device->MinimizeWindow = Cocoa_MinimizeWindow; |
91 device->RestoreWindow = Cocoa_RestoreWindow; | 91 device->RestoreWindow = Cocoa_RestoreWindow; |
92 device->SetWindowGrab = Cocoa_SetWindowGrab; | 92 device->SetWindowGrab = Cocoa_SetWindowGrab; |
93 device->DestroyWindow = Cocoa_DestroyWindow; | 93 device->DestroyWindow = Cocoa_DestroyWindow; |
94 device->GetWindowWMInfo = Cocoa_GetWindowWMInfo; | 94 device->GetWindowWMInfo = Cocoa_GetWindowWMInfo; |
95 | |
96 device->shape_driver.CreateShaper = Cocoa_CreateShaper; | |
97 device->shape_driver.SetWindowShape = Cocoa_SetWindowShape; | |
98 device->shape_driver.ResizeWindowShape = Cocoa_ResizeWindowShape; | |
99 | |
95 #ifdef SDL_VIDEO_OPENGL_CGL | 100 #ifdef SDL_VIDEO_OPENGL_CGL |
96 device->GL_LoadLibrary = Cocoa_GL_LoadLibrary; | 101 device->GL_LoadLibrary = Cocoa_GL_LoadLibrary; |
97 device->GL_GetProcAddress = Cocoa_GL_GetProcAddress; | 102 device->GL_GetProcAddress = Cocoa_GL_GetProcAddress; |
98 device->GL_UnloadLibrary = Cocoa_GL_UnloadLibrary; | 103 device->GL_UnloadLibrary = Cocoa_GL_UnloadLibrary; |
99 device->GL_CreateContext = Cocoa_GL_CreateContext; | 104 device->GL_CreateContext = Cocoa_GL_CreateContext; |