src/video/cocoa/SDL_cocoavideo.m
changeset 1952 420716272158
parent 1936 83946ee0ff1f
child 1959 25d6537feea4
--- a/src/video/cocoa/SDL_cocoavideo.m	Thu Jul 27 06:53:23 2006 +0000
+++ b/src/video/cocoa/SDL_cocoavideo.m	Fri Jul 28 08:43:17 2006 +0000
@@ -87,7 +87,7 @@
     device->SetWindowGrab = Cocoa_SetWindowGrab;
     device->DestroyWindow = Cocoa_DestroyWindow;
     device->GetWindowWMInfo = Cocoa_GetWindowWMInfo;
-#ifdef SDL_VIDEO_OPENGL
+#ifdef SDL_VIDEO_OPENGL_CGL
     device->GL_LoadLibrary = Cocoa_GL_LoadLibrary;
     device->GL_GetProcAddress = Cocoa_GL_GetProcAddress;
     device->GL_CreateContext = Cocoa_GL_CreateContext;