[gens-sdl] GLBackend: Moved the OpenGL includes from the header to the implementation...
authorDavid Korth <gerbilsoft@gerbilsoft.com>
Wed, 2 Sep 2015 00:49:25 +0000 (20:49 -0400)
committerDavid Korth <gerbilsoft@gerbilsoft.com>
Wed, 2 Sep 2015 00:49:25 +0000 (20:49 -0400)
No need to expose the GL headers here, since all of the GL variables
are in a private class in GLBackend.cpp.

src/gens-sdl/GLBackend.cpp
src/gens-sdl/GLBackend.hpp

index 2934321..57304cc 100644 (file)
@@ -34,6 +34,12 @@ using LibGens::FastBlur;
 #include <climits>
 #include <cstdio>
 
+// OpenGL
+#ifdef _WIN32
+#include <windows.h>
+#endif
+#include <GL/gl.h>
+
 // Onscreen Display.
 #include "OsdGL.hpp"
 
index 80f8784..badb953 100644 (file)
 // C includes.
 #include <stdint.h>
 
-// OpenGL
-#ifdef _WIN32
-#include <windows.h>
-#endif
-#include <GL/gl.h>
-
 // Video Backend.
 #include "VBackend.hpp"
 // LibGens includes.