comparison src/video/win32/SDL_win32opengl.h @ 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 99210400e8b9
comparison
equal deleted inserted replaced
1951:7177581dc9fa 1952:420716272158
22 #include "SDL_config.h" 22 #include "SDL_config.h"
23 23
24 #ifndef _SDL_win32opengl_h 24 #ifndef _SDL_win32opengl_h
25 #define _SDL_win32opengl_h 25 #define _SDL_win32opengl_h
26 26
27 #if SDL_VIDEO_OPENGL 27 #if SDL_VIDEO_OPENGL_WGL
28 28
29 struct SDL_GLDriverData 29 struct SDL_GLDriverData
30 { 30 {
31 int initialized; 31 int initialized;
32 int WGL_ARB_pixel_format; 32 int WGL_ARB_pixel_format;
118 #ifndef WGL_ARB_multisample 118 #ifndef WGL_ARB_multisample
119 #define WGL_SAMPLE_BUFFERS_ARB 0x2041 119 #define WGL_SAMPLE_BUFFERS_ARB 0x2041
120 #define WGL_SAMPLES_ARB 0x2042 120 #define WGL_SAMPLES_ARB 0x2042
121 #endif 121 #endif
122 122
123 #endif /* SDL_VIDEO_OPENGL */ 123 #endif /* SDL_VIDEO_OPENGL_WGL */
124 124
125 #endif /* _SDL_win32opengl_h */ 125 #endif /* _SDL_win32opengl_h */
126 126
127 /* vi: set ts=4 sw=4 expandtab: */ 127 /* vi: set ts=4 sw=4 expandtab: */