comparison src/video/SDL_sysvideo.h @ 1536:5151662ab728

WIN32 is no longer defined on Windows builds
author Sam Lantinga <slouken@libsdl.org>
date Tue, 14 Mar 2006 17:33:33 +0000
parents d910939febfa
children 96c2f89cc7e1 3b2a92126f4d
comparison
equal deleted inserted replaced
1535:ba2e91b27a37 1536:5151662ab728
171 int (*GL_LoadLibrary)(_THIS, const char *path); 171 int (*GL_LoadLibrary)(_THIS, const char *path);
172 172
173 /* Retrieves the address of a function in the gl library */ 173 /* Retrieves the address of a function in the gl library */
174 void* (*GL_GetProcAddress)(_THIS, const char *proc); 174 void* (*GL_GetProcAddress)(_THIS, const char *proc);
175 175
176 /* Get attribute information from the windowing system. */ 176 /* Get attribute information from the windowing system. */
177 int (*GL_GetAttribute)(_THIS, SDL_GLattr attrib, int* value); 177 int (*GL_GetAttribute)(_THIS, SDL_GLattr attrib, int* value);
178 178
179 /* Make the context associated with this driver current */ 179 /* Make the context associated with this driver current */
180 int (*GL_MakeCurrent)(_THIS); 180 int (*GL_MakeCurrent)(_THIS);
181 181
182 /* Swap the current buffers in double buffer mode. */ 182 /* Swap the current buffers in double buffer mode. */
183 void (*GL_SwapBuffers)(_THIS); 183 void (*GL_SwapBuffers)(_THIS);
184 184
185 /* OpenGL functions for SDL_OPENGLBLIT */ 185 /* OpenGL functions for SDL_OPENGLBLIT */
186 #if SDL_VIDEO_OPENGL 186 #if SDL_VIDEO_OPENGL
187 #ifndef WIN32 187 #if !defined(__WIN32__)
188 #define WINAPI 188 #define WINAPI
189 #endif 189 #endif
190 #define SDL_PROC(ret,func,params) ret (WINAPI *func) params; 190 #define SDL_PROC(ret,func,params) ret (WINAPI *func) params;
191 #include "SDL_glfuncs.h" 191 #include "SDL_glfuncs.h"
192 #undef SDL_PROC 192 #undef SDL_PROC