mirror of
https://github.com/yawut/SDL.git
synced 2026-07-18 17:01:19 -05:00
Mac: Fix cast warning.
This commit is contained in:
parent
7a3c8f1213
commit
451e30f45f
|
|
@ -344,7 +344,7 @@ Cocoa_GL_SwapWindow(_THIS, SDL_Window * window)
|
|||
|
||||
pool = [[NSAutoreleasePool alloc] init];
|
||||
|
||||
SDLOpenGLContext* nscontext = (NSOpenGLContext*)SDL_GL_GetCurrentContext();
|
||||
SDLOpenGLContext* nscontext = (SDLOpenGLContext*)SDL_GL_GetCurrentContext();
|
||||
[nscontext flushBuffer];
|
||||
[nscontext updateIfNeeded];
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user