Skip to content
Permalink
Browse files

Mac: Fix cast warning.

  • Loading branch information
slouken committed Sep 14, 2013
1 parent a916645 commit 37509cf3e3dc44d4b371abcddff0c523e3d3134d
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/video/cocoa/SDL_cocoaopengl.m
@@ -344,7 +344,7 @@ - (void)setWindow:(SDL_Window *)newWindow

pool = [[NSAutoreleasePool alloc] init];

SDLOpenGLContext* nscontext = (NSOpenGLContext*)SDL_GL_GetCurrentContext();
SDLOpenGLContext* nscontext = (SDLOpenGLContext*)SDL_GL_GetCurrentContext();
[nscontext flushBuffer];
[nscontext updateIfNeeded];

0 comments on commit 37509cf

Please sign in to comment.