comparison src/video/x11/SDL_x11video.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 1002d074d459
children e594f07297a9
comparison
equal deleted inserted replaced
5089:b4b0e9f1669c 5090:455bc74f7034
207 device->DestroyWindow = X11_DestroyWindow; 207 device->DestroyWindow = X11_DestroyWindow;
208 device->GetWindowWMInfo = X11_GetWindowWMInfo; 208 device->GetWindowWMInfo = X11_GetWindowWMInfo;
209 device->shape_driver.CreateShaper = X11_CreateShaper; 209 device->shape_driver.CreateShaper = X11_CreateShaper;
210 device->shape_driver.SetWindowShape = X11_SetWindowShape; 210 device->shape_driver.SetWindowShape = X11_SetWindowShape;
211 device->shape_driver.ResizeWindowShape = X11_ResizeWindowShape; 211 device->shape_driver.ResizeWindowShape = X11_ResizeWindowShape;
212 #ifdef SDL_VIDEO_OPENGL_GLX 212 #if SDL_VIDEO_OPENGL_GLX
213 device->GL_LoadLibrary = X11_GL_LoadLibrary; 213 device->GL_LoadLibrary = X11_GL_LoadLibrary;
214 device->GL_GetProcAddress = X11_GL_GetProcAddress; 214 device->GL_GetProcAddress = X11_GL_GetProcAddress;
215 device->GL_UnloadLibrary = X11_GL_UnloadLibrary; 215 device->GL_UnloadLibrary = X11_GL_UnloadLibrary;
216 device->GL_CreateContext = X11_GL_CreateContext; 216 device->GL_CreateContext = X11_GL_CreateContext;
217 device->GL_MakeCurrent = X11_GL_MakeCurrent; 217 device->GL_MakeCurrent = X11_GL_MakeCurrent;