Silence warning with GL_DEBUG=1

This commit is contained in:
orbea 2016-09-22 08:40:44 -07:00
parent 2c29e599e8
commit 7768a706a1

View File

@ -17,7 +17,7 @@
#include <glm/gtc/type_ptr.hpp>
using namespace glm;
#define GL_DEBUG 0
#undef GL_DEBUG
#if GL_DEBUG
#define GL_CHECK_ERROR() do { \
if (glGetError() != GL_NO_ERROR) \