comparison 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
comparison
equal deleted inserted replaced
1768:814f9f2c7a33 1769:290b5baf2fca
175 int i; 175 int i;
176 unsigned int matching; 176 unsigned int matching;
177 int iAttribs[64]; 177 int iAttribs[64];
178 int *iAttr; 178 int *iAttr;
179 float fAttribs[1] = { 0 }; 179 float fAttribs[1] = { 0 };
180 const GLubyte *(*glGetStringFunc)(GLenum); 180 const GLubyte *(WINAPI *glGetStringFunc)(GLenum);
181 const char *wglext; 181 const char *wglext;
182 182
183 /* load the gl driver from a default path */ 183 /* load the gl driver from a default path */
184 if ( ! this->gl_config.driver_loaded ) { 184 if ( ! this->gl_config.driver_loaded ) {
185 /* no driver has been loaded, use default (ourselves) */ 185 /* no driver has been loaded, use default (ourselves) */