diff --git a/desmume/src/OGLRender.h b/desmume/src/OGLRender.h index e226dab3a..802c6c162 100755 --- a/desmume/src/OGLRender.h +++ b/desmume/src/OGLRender.h @@ -53,12 +53,11 @@ #define OPENGL_VARIANT_STANDARD #define WIN32_LEAN_AND_MEAN #include + #include + #include #ifdef OGLRENDER_3_2_H #include - #else - #include - #include #endif #define OGLEXT(procPtr, func) procPtr func = NULL; @@ -96,14 +95,13 @@ #define EXTERNOGLEXT(procPtr, func) #else #define OPENGL_VARIANT_STANDARD + #include + #include + #include #ifdef OGLRENDER_3_2_H #include "utils/glcorearb.h" #else - #include - #include - #include - /* This is a workaround needed to compile against nvidia GL headers */ #ifndef GL_ALPHA_BLEND_EQUATION_ATI #undef GL_VERSION_1_3