mirror of
https://github.com/encounter/SDL.git
synced 2025-12-09 13:37:56 +00:00
Mac: Fix cast warning.
This commit is contained in:
@@ -344,7 +344,7 @@ Cocoa_GL_SwapWindow(_THIS, SDL_Window * window)
|
|||||||
|
|
||||||
pool = [[NSAutoreleasePool alloc] init];
|
pool = [[NSAutoreleasePool alloc] init];
|
||||||
|
|
||||||
SDLOpenGLContext* nscontext = (NSOpenGLContext*)SDL_GL_GetCurrentContext();
|
SDLOpenGLContext* nscontext = (SDLOpenGLContext*)SDL_GL_GetCurrentContext();
|
||||||
[nscontext flushBuffer];
|
[nscontext flushBuffer];
|
||||||
[nscontext updateIfNeeded];
|
[nscontext updateIfNeeded];
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user