Mercurial > sdl-ios-xcode
diff src/video/windows/SDL_windowswindow.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 | 57851a238c8f |
line wrap: on
line diff
--- a/src/video/windows/SDL_windowswindow.c Mon Jan 24 16:10:13 2011 -0800 +++ b/src/video/windows/SDL_windowswindow.c Mon Jan 24 17:38:18 2011 -0800 @@ -243,7 +243,7 @@ DestroyWindow(hwnd); return -1; } -#ifdef SDL_VIDEO_OPENGL_WGL +#if SDL_VIDEO_OPENGL_WGL if (window->flags & SDL_WINDOW_OPENGL) { if (WIN_GL_SetupWindow(_this, window) < 0) { WIN_DestroyWindow(_this, window);