Don't define/undefine GL_DEBUG at all
This commit is contained in:
parent
42f18b1bc8
commit
bef6308b12
|
@ -17,7 +17,6 @@
|
||||||
#include <glm/gtc/type_ptr.hpp>
|
#include <glm/gtc/type_ptr.hpp>
|
||||||
using namespace glm;
|
using namespace glm;
|
||||||
|
|
||||||
#undef GL_DEBUG
|
|
||||||
#if GL_DEBUG
|
#if GL_DEBUG
|
||||||
#define GL_CHECK_ERROR() do { \
|
#define GL_CHECK_ERROR() do { \
|
||||||
if (glGetError() != GL_NO_ERROR) \
|
if (glGetError() != GL_NO_ERROR) \
|
||||||
|
|
Loading…
Reference in New Issue