Mercurial > sdl-ios-xcode
diff src/video/win32/SDL_win32window.c @ 1952:420716272158
Implemented X11 OpenGL support.
Added support for the SDL_VIDEO_OPENGL environment variable.
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Fri, 28 Jul 2006 08:43:17 +0000 |
parents | 7177581dc9fa |
children | ba0d62354872 |
line wrap: on
line diff
--- a/src/video/win32/SDL_win32window.c Thu Jul 27 06:53:23 2006 +0000 +++ b/src/video/win32/SDL_win32window.c Fri Jul 28 08:43:17 2006 +0000 @@ -213,7 +213,7 @@ DestroyWindow(hwnd); return -1; } -#ifdef SDL_VIDEO_OPENGL +#ifdef SDL_VIDEO_OPENGL_WGL if (window->flags & SDL_WINDOW_OPENGL) { if (WIN_GL_SetupWindow(_this, window) < 0) { WIN_DestroyWindow(_this, window); @@ -419,7 +419,7 @@ SDL_WindowData *data = (SDL_WindowData *) window->driverdata; if (data) { -#ifdef SDL_VIDEO_OPENGL +#ifdef SDL_VIDEO_OPENGL_WGL if (window->flags & SDL_WINDOW_OPENGL) { WIN_GL_CleanupWindow(_this, window); }