comparison 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
comparison
equal deleted inserted replaced
1951:7177581dc9fa 1952:420716272158
121 device->MinimizeWindow = WIN_MinimizeWindow; 121 device->MinimizeWindow = WIN_MinimizeWindow;
122 device->RestoreWindow = WIN_RestoreWindow; 122 device->RestoreWindow = WIN_RestoreWindow;
123 device->SetWindowGrab = WIN_SetWindowGrab; 123 device->SetWindowGrab = WIN_SetWindowGrab;
124 device->DestroyWindow = WIN_DestroyWindow; 124 device->DestroyWindow = WIN_DestroyWindow;
125 device->GetWindowWMInfo = WIN_GetWindowWMInfo; 125 device->GetWindowWMInfo = WIN_GetWindowWMInfo;
126 #ifdef SDL_VIDEO_OPENGL 126 #ifdef SDL_VIDEO_OPENGL_WGL
127 device->GL_LoadLibrary = WIN_GL_LoadLibrary; 127 device->GL_LoadLibrary = WIN_GL_LoadLibrary;
128 device->GL_GetProcAddress = WIN_GL_GetProcAddress; 128 device->GL_GetProcAddress = WIN_GL_GetProcAddress;
129 device->GL_CreateContext = WIN_GL_CreateContext; 129 device->GL_CreateContext = WIN_GL_CreateContext;
130 device->GL_MakeCurrent = WIN_GL_MakeCurrent; 130 device->GL_MakeCurrent = WIN_GL_MakeCurrent;
131 device->GL_SetSwapInterval = WIN_GL_SetSwapInterval; 131 device->GL_SetSwapInterval = WIN_GL_SetSwapInterval;