WIN32 is no longer defined on Windows builds
--HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401540
This commit is contained in:
parent
25e9da92f3
commit
48a79d3c30
1 changed files with 5 additions and 5 deletions
|
@ -173,18 +173,18 @@ struct SDL_VideoDevice {
|
|||
/* Retrieves the address of a function in the gl library */
|
||||
void* (*GL_GetProcAddress)(_THIS, const char *proc);
|
||||
|
||||
/* Get attribute information from the windowing system. */
|
||||
int (*GL_GetAttribute)(_THIS, SDL_GLattr attrib, int* value);
|
||||
/* Get attribute information from the windowing system. */
|
||||
int (*GL_GetAttribute)(_THIS, SDL_GLattr attrib, int* value);
|
||||
|
||||
/* Make the context associated with this driver current */
|
||||
int (*GL_MakeCurrent)(_THIS);
|
||||
/* Make the context associated with this driver current */
|
||||
int (*GL_MakeCurrent)(_THIS);
|
||||
|
||||
/* Swap the current buffers in double buffer mode. */
|
||||
void (*GL_SwapBuffers)(_THIS);
|
||||
|
||||
/* OpenGL functions for SDL_OPENGLBLIT */
|
||||
#if SDL_VIDEO_OPENGL
|
||||
#ifndef WIN32
|
||||
#if !defined(__WIN32__)
|
||||
#define WINAPI
|
||||
#endif
|
||||
#define SDL_PROC(ret,func,params) ret (WINAPI *func) params;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue