1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-07-27 17:28:41 +00:00

Try to fix macro definition order problem with OpenGL code

This commit is contained in:
sfan5 2024-04-15 19:27:05 +02:00
parent 13e271c6cb
commit 38cacfa577
6 changed files with 9 additions and 5 deletions

View file

@ -90,6 +90,9 @@ typedef char GLchar;
// to check if this header is in the current compile unit (different GL implementation used different "GLCommon" headers in Irrlicht
#define IRR_COMPILE_GLES_COMMON
// macro used with COGLES1Driver
#define TEST_GL_ERROR(cls) (cls)->testGLError(__LINE__)
namespace irr
{
namespace video