Mercurial > sdl-ios-xcode
diff src/video/windows/SDL_windowsvideo.c @ 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 | c2539ff054c8 |
children | 327f181542f1 |
line wrap: on
line diff
--- a/src/video/windows/SDL_windowsvideo.c Mon Jan 24 16:10:13 2011 -0800 +++ b/src/video/windows/SDL_windowsvideo.c Mon Jan 24 17:38:18 2011 -0800 @@ -197,7 +197,7 @@ device->shape_driver.SetWindowShape = Win32_SetWindowShape; device->shape_driver.ResizeWindowShape = Win32_ResizeWindowShape; -#ifdef SDL_VIDEO_OPENGL_WGL +#if SDL_VIDEO_OPENGL_WGL device->GL_LoadLibrary = WIN_GL_LoadLibrary; device->GL_GetProcAddress = WIN_GL_GetProcAddress; device->GL_UnloadLibrary = WIN_GL_UnloadLibrary;