Merge pull request #3635 from orbea/gl_debug_warning

Silence warning with GL_DEBUG=1
This commit is contained in:
Twinaphex 2016-09-22 18:41:33 +02:00 committed by GitHub
commit 42f18b1bc8

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) \