Mac: Fix cast warning.

Sam Lantinga 2013-09-13 17:40:41 -07:00
parent a9166450f4
commit 37509cf3e3
1 changed files with 1 additions and 1 deletions

View File

@ -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];