summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-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