|
@@ -27,14 +27,14 @@
|
27
|
27
|
#include <glbinding/Binding.h>
|
28
|
28
|
#include <ezoptionparser/ezOptionParser.hpp>
|
29
|
29
|
|
30
|
|
-#ifdef DEBUG
|
|
30
|
+#ifdef DEBUG_GLBINDINGS
|
31
|
31
|
#include <glbinding/callbacks.h>
|
32
|
32
|
#include <glbinding/Meta.h>
|
33
|
33
|
#endif
|
34
|
34
|
|
35
|
35
|
static std::string configFileToUse;
|
36
|
36
|
|
37
|
|
-#ifdef DEBUG
|
|
37
|
+#ifdef DEBUG_GLBINDINGS
|
38
|
38
|
static void glErrorCallback(const glbinding::FunctionCall& call) {
|
39
|
39
|
RunTime::incrementCallCount();
|
40
|
40
|
|
|
@@ -126,7 +126,7 @@ int main(int argc, const char* argv[]) {
|
126
|
126
|
RunTime::initialize(); // RunTime is required by other constructors
|
127
|
127
|
Command::fillCommandList();
|
128
|
128
|
|
129
|
|
-#ifdef DEBUG
|
|
129
|
+#ifdef DEBUG_GLBINDINGS
|
130
|
130
|
// Register global OpenGL after-callback for all GL functions except glGetError
|
131
|
131
|
glbinding::setCallbackMaskExcept(glbinding::CallbackMask::After
|
132
|
132
|
| glbinding::CallbackMask::ParametersAndReturnValue,
|