Mercurial > sdl-ios-xcode
diff src/video/win32/SDL_win32video.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 | 83946ee0ff1f |
children | 44e49d3fa6cf abc8acb8e3d7 |
line wrap: on
line diff
--- a/src/video/win32/SDL_win32video.c Thu Jul 27 06:53:23 2006 +0000 +++ b/src/video/win32/SDL_win32video.c Fri Jul 28 08:43:17 2006 +0000 @@ -123,7 +123,7 @@ device->SetWindowGrab = WIN_SetWindowGrab; device->DestroyWindow = WIN_DestroyWindow; device->GetWindowWMInfo = WIN_GetWindowWMInfo; -#ifdef SDL_VIDEO_OPENGL +#ifdef SDL_VIDEO_OPENGL_WGL device->GL_LoadLibrary = WIN_GL_LoadLibrary; device->GL_GetProcAddress = WIN_GL_GetProcAddress; device->GL_CreateContext = WIN_GL_CreateContext;