Mercurial > sdl-ios-xcode
comparison src/video/windows/SDL_windowsvideo.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 | 327f181542f1 |
comparison
equal
deleted
inserted
replaced
5089:b4b0e9f1669c | 5090:455bc74f7034 |
---|---|
195 | 195 |
196 device->shape_driver.CreateShaper = Win32_CreateShaper; | 196 device->shape_driver.CreateShaper = Win32_CreateShaper; |
197 device->shape_driver.SetWindowShape = Win32_SetWindowShape; | 197 device->shape_driver.SetWindowShape = Win32_SetWindowShape; |
198 device->shape_driver.ResizeWindowShape = Win32_ResizeWindowShape; | 198 device->shape_driver.ResizeWindowShape = Win32_ResizeWindowShape; |
199 | 199 |
200 #ifdef SDL_VIDEO_OPENGL_WGL | 200 #if SDL_VIDEO_OPENGL_WGL |
201 device->GL_LoadLibrary = WIN_GL_LoadLibrary; | 201 device->GL_LoadLibrary = WIN_GL_LoadLibrary; |
202 device->GL_GetProcAddress = WIN_GL_GetProcAddress; | 202 device->GL_GetProcAddress = WIN_GL_GetProcAddress; |
203 device->GL_UnloadLibrary = WIN_GL_UnloadLibrary; | 203 device->GL_UnloadLibrary = WIN_GL_UnloadLibrary; |
204 device->GL_CreateContext = WIN_GL_CreateContext; | 204 device->GL_CreateContext = WIN_GL_CreateContext; |
205 device->GL_MakeCurrent = WIN_GL_MakeCurrent; | 205 device->GL_MakeCurrent = WIN_GL_MakeCurrent; |