Mac: Fix cast warning.
This commit is contained in:
parent
905b5aa01a
commit
4e681a4151
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue