Added ifdef to suppress OpenGL dependencies
This commit is contained in:
@@ -31,6 +31,8 @@
|
|||||||
|
|
||||||
#include "krhelpers.h"
|
#include "krhelpers.h"
|
||||||
|
|
||||||
|
#if defined(KRAKEN_USE_OPENGL)
|
||||||
|
|
||||||
#if defined(DEBUG) || defined(_DEBUG)
|
#if defined(DEBUG) || defined(_DEBUG)
|
||||||
#define GLDEBUG(x) \
|
#define GLDEBUG(x) \
|
||||||
x; \
|
x; \
|
||||||
@@ -68,3 +70,5 @@ void SetUniform(GLint location, const Matrix4 &v)
|
|||||||
}
|
}
|
||||||
|
|
||||||
} // namespace kraken
|
} // namespace kraken
|
||||||
|
|
||||||
|
#endif // defined(KRAKEN_USE_OPENGL)
|
||||||
Reference in New Issue
Block a user