Mercurial > sdl-ios-xcode
diff src/video/cocoa/SDL_cocoaopengl.h @ 3057:089a77aebb7d
Added test program for SDL_CreateWindowFrom()
Make sure OpenGL library is loaded before working with OpenGL windows,
even those created with SDL_CreateWindowFrom()
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Mon, 09 Feb 2009 05:32:12 +0000 |
parents | 99210400e8b9 |
children | f7b03b6838cb |
line wrap: on
line diff
--- a/src/video/cocoa/SDL_cocoaopengl.h Sun Feb 08 15:35:06 2009 +0000 +++ b/src/video/cocoa/SDL_cocoaopengl.h Mon Feb 09 05:32:12 2009 +0000 @@ -34,8 +34,7 @@ /* OpenGL functions */ extern int Cocoa_GL_LoadLibrary(_THIS, const char *path); extern void *Cocoa_GL_GetProcAddress(_THIS, const char *proc); -extern int Cocoa_GL_SetupWindow(_THIS, SDL_Window * window); -extern void Cocoa_GL_CleanupWindow(_THIS, SDL_Window * window); +extern void Cocoa_GL_UnloadLibrary(_THIS); extern SDL_GLContext Cocoa_GL_CreateContext(_THIS, SDL_Window * window); extern int Cocoa_GL_MakeCurrent(_THIS, SDL_Window * window, SDL_GLContext context);