diff --git a/source/game/compat/gl.h b/source/game/compat/gl.h index 0e9a600e..cc3f059f 100644 --- a/source/game/compat/gl.h +++ b/source/game/compat/gl.h @@ -1,5 +1,9 @@ #pragma once #include "glad/gl.h" +#ifdef _WIN32 +// defines APIENTRY, GL/gl.h includes it but Glad doesn't +# include +#endif #if defined(__APPLE__) && defined(__MACH__) # include #else