Mercurial > sdl-ios-xcode
diff src/video/cocoa/SDL_cocoavideo.m @ 1936:83946ee0ff1f
Implemented OpenGL support on Mac OS X
The OpenGL renderer works without changes, yay! :)
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Tue, 25 Jul 2006 06:22:42 +0000 |
parents | 7ee5297340f7 |
children | 420716272158 |
line wrap: on
line diff
--- a/src/video/cocoa/SDL_cocoavideo.m Mon Jul 24 23:30:14 2006 +0000 +++ b/src/video/cocoa/SDL_cocoavideo.m Tue Jul 25 06:22:42 2006 +0000 @@ -87,11 +87,9 @@ device->SetWindowGrab = Cocoa_SetWindowGrab; device->DestroyWindow = Cocoa_DestroyWindow; device->GetWindowWMInfo = Cocoa_GetWindowWMInfo; - /* #ifdef SDL_VIDEO_OPENGL device->GL_LoadLibrary = Cocoa_GL_LoadLibrary; device->GL_GetProcAddress = Cocoa_GL_GetProcAddress; - device->GL_GetWindowAttribute = Cocoa_GL_GetWindowAttribute; device->GL_CreateContext = Cocoa_GL_CreateContext; device->GL_MakeCurrent = Cocoa_GL_MakeCurrent; device->GL_SetSwapInterval = Cocoa_GL_SetSwapInterval; @@ -99,7 +97,6 @@ device->GL_SwapWindow = Cocoa_GL_SwapWindow; device->GL_DeleteContext = Cocoa_GL_DeleteContext; #endif - */ device->free = Cocoa_DeleteDevice;