1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-16 09:55:22 +02: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

@@ -19,6 +19,9 @@
// To check if this header is in the current compile unit (different GL driver implementations use different "GLCommon" headers in Irrlicht)
#define IRR_COMPILE_GL_COMMON
// macro used with COpenGLDriver
#define TEST_GL_ERROR(cls) (cls)->testGLError(__LINE__)
namespace irr
{
namespace video