diff --git a/MobileGL/Includes.h b/MobileGL/Includes.h index 68930b2a..34e7864e 100644 --- a/MobileGL/Includes.h +++ b/MobileGL/Includes.h @@ -62,7 +62,9 @@ #endif #include #define GL_GLEXT_PROTOTYPES +#ifndef NO_GL_H #include "GL/gl.h" +#endif #include #undef GL_GLEXT_PROTOTYPES diff --git a/MobileGL/MG_Test/Backend/DirectVulkan/TestExec.cpp b/MobileGL/MG_Test/Backend/DirectVulkan/TestExec.cpp index 7039e901..f20ea2ba 100644 --- a/MobileGL/MG_Test/Backend/DirectVulkan/TestExec.cpp +++ b/MobileGL/MG_Test/Backend/DirectVulkan/TestExec.cpp @@ -39,7 +39,9 @@ #include #endif +#define NO_GL_H #include +#undef NO_GL_H namespace MobileGL { void MG_Initialize();