summaryrefslogtreecommitdiffstatshomepage
path: root/src
diff options
context:
space:
mode:
author couriersud <couriersud@arcor.de>2015-03-02 23:21:05 +0100
committer couriersud <couriersud@arcor.de>2015-03-02 23:21:05 +0100
commitfddd44793ccf55cda534bcc8dc2b209c46395545 (patch)
tree7b7b9250236d51b916ba7b77d88aed99244d379c /src
parentd12a414b7ce723c085ba5c4f8528f51b192de5ae (diff)
Just another one for Peter. (nw)
Diffstat (limited to 'src')
-rw-r--r--src/osd/modules/opengl/osd_opengl.h3
-rw-r--r--src/osd/modules/render/drawogl.c3
2 files changed, 3 insertions, 3 deletions
diff --git a/src/osd/modules/opengl/osd_opengl.h b/src/osd/modules/opengl/osd_opengl.h
index e64736c2576..5fdd366a476 100644
--- a/src/osd/modules/opengl/osd_opengl.h
+++ b/src/osd/modules/opengl/osd_opengl.h
@@ -22,6 +22,9 @@
#include "GL/gl.h"
#include "GL/glext.h"
#endif
+ #ifndef USE_DISPATCH_GL
+ #include "GL/wglext.h"
+ #endif
#else
#if (SDLMAME_SDL2)
#include <SDL2/SDL_version.h>
diff --git a/src/osd/modules/render/drawogl.c b/src/osd/modules/render/drawogl.c
index b78585c1f74..f0e267a4eac 100644
--- a/src/osd/modules/render/drawogl.c
+++ b/src/osd/modules/render/drawogl.c
@@ -34,9 +34,6 @@
#ifdef OSD_WINDOWS
#define SDLMAME_SDL2 1
-#ifndef USE_DISPATCH_GL
-#include "GL/wglext.h"
-#endif
#endif
// OpenGL headers