Mac: Fix cast warning.
authorSam Lantinga <slouken@libsdl.org>
Fri, 13 Sep 2013 17:40:41 -0700
changeset 7738 10981a646a6d
parent 7737 e9d463cb5b49
child 7739 329c9da4bfeb
Mac: Fix cast warning.
src/video/cocoa/SDL_cocoaopengl.m
--- a/src/video/cocoa/SDL_cocoaopengl.m	Tue Sep 10 18:25:13 2013 -0700
+++ b/src/video/cocoa/SDL_cocoaopengl.m	Fri Sep 13 17:40:41 2013 -0700
@@ -344,7 +344,7 @@
 
     pool = [[NSAutoreleasePool alloc] init];
 
-    SDLOpenGLContext* nscontext = (NSOpenGLContext*)SDL_GL_GetCurrentContext();
+    SDLOpenGLContext* nscontext = (SDLOpenGLContext*)SDL_GL_GetCurrentContext();
     [nscontext flushBuffer];
     [nscontext updateIfNeeded];