Putting the GLERRORCHECK only in debug

This commit is contained in:
Sam Gateau 2015-03-25 11:07:19 -07:00
parent e6ac502fb5
commit 045dbb11a3

View file

@ -49,7 +49,10 @@ static const GLenum _elementTypeToGLType[NUM_TYPES]= {
GL_UNSIGNED_BYTE
};
#if _DEBUG
#define CHECK_GL_ERROR() ::gpu::GLBackend::checkGLError()
//#define CHECK_GL_ERROR()
#else
#define CHECK_GL_ERROR()
#endif
#endif