diff src/video/cocoa/SDL_cocoavideo.m @ 5090:455bc74f7034

Fixed bug #1100 Test the video features with #if instead of #ifdef
author Sam Lantinga <slouken@libsdl.org>
date Mon, 24 Jan 2011 17:38:18 -0800
parents 7b1d35d98294
children 7a963be087ef
line wrap: on
line diff
--- a/src/video/cocoa/SDL_cocoavideo.m	Mon Jan 24 16:10:13 2011 -0800
+++ b/src/video/cocoa/SDL_cocoavideo.m	Mon Jan 24 17:38:18 2011 -0800
@@ -98,7 +98,7 @@
     device->shape_driver.SetWindowShape = Cocoa_SetWindowShape;
     device->shape_driver.ResizeWindowShape = Cocoa_ResizeWindowShape;
     
-#ifdef SDL_VIDEO_OPENGL_CGL
+#if SDL_VIDEO_OPENGL_CGL
     device->GL_LoadLibrary = Cocoa_GL_LoadLibrary;
     device->GL_GetProcAddress = Cocoa_GL_GetProcAddress;
     device->GL_UnloadLibrary = Cocoa_GL_UnloadLibrary;