From 5d6a3e083aaa6a240ac4c25970874dc46e6c8e45 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Mon, 12 Feb 2018 13:12:48 +0100 Subject: [PATCH] disabled DEBUG_GL --- shaders.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/shaders.cpp b/shaders.cpp index 24479842..d3e55c06 100644 --- a/shaders.cpp +++ b/shaders.cpp @@ -2,7 +2,9 @@ // If CAP_SHADER is 0, OpenGL 1.0 is used. // If CAP_SHADER is 1, GLSL is used. -#define DEBUG_GL 1 +#ifndef DEBUG_GL +#define DEBUG_GL 0 +#endif // Copyright (C) 2011-2018 Zeno Rogue, see 'hyper.cpp' for details @@ -13,7 +15,9 @@ void glError(const char* GLcall, const char* file, const int line) { } } +#ifndef CAP_VERTEXBUFFER #define CAP_VERTEXBUFFER (ISWEB) +#endif namespace glhr {