Mercurial > sdl-ios-xcode
diff src/video/wincommon/SDL_wingl.c @ 1769:290b5baf2fca
Fixed bug #215
The current SVN trunk is missing the SDLCALL specifier at numerous locations.
It has to be added for all (possibly user provided) callbacks.
I stumbled over this while creating a makefile for the OpenWatcom compiler for
Win32.
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Sun, 07 May 2006 03:40:06 +0000 |
parents | ac282d472a2e |
children | 9d940db55a91 |
line wrap: on
line diff
--- a/src/video/wincommon/SDL_wingl.c Fri May 05 05:50:26 2006 +0000 +++ b/src/video/wincommon/SDL_wingl.c Sun May 07 03:40:06 2006 +0000 @@ -177,7 +177,7 @@ int iAttribs[64]; int *iAttr; float fAttribs[1] = { 0 }; - const GLubyte *(*glGetStringFunc)(GLenum); + const GLubyte *(WINAPI *glGetStringFunc)(GLenum); const char *wglext; /* load the gl driver from a default path */