Previous 199869 Revisions Next

r36196 Monday 2nd March, 2015 at 20:05:39 UTC by Couriersud
OpenGL MSVC fix for Peter. If compiling under MSVC, don't use GL/gl.h or
GL/glext.h. Use our own headers. (nw)
[src/osd/modules/opengl]SDL1211_opengl.h osd_opengl.h

trunk/src/osd/modules/opengl/SDL1211_opengl.h
r244707r244708
2222
2323/* This is a simple file to encapsulate the OpenGL API headers */
2424
25#include <SDL/SDL_config.h>
25//#include <SDL/SDL_config.h>
2626
2727#ifdef __WIN32__
2828#define WIN32_LEAN_AND_MEAN
trunk/src/osd/modules/opengl/osd_opengl.h
r244707r244708
1616    * #include <GL/glext.h>
1717    */
1818   #ifdef OSD_WINDOWS
19   #include "GL/gl.h"
20   #include "GL/glext.h"
19      #ifdef _MSC_VER
20         #include "SDL1211_opengl.h"
21      #else
22         #include "GL/gl.h"
23         #include "GL/glext.h"
24      #endif
2125   #else
2226   #if (SDLMAME_SDL2)
2327   #include <SDL2/SDL_version.h>


Previous 199869 Revisions Next


© 1997-2024 The MAME Team