Merge pull request #4503 from samcake/orange

Putting the GLERRORCHECK only in debug
This commit is contained in:
Philip Rosedale 2015-03-25 11:29:19 -07:00
commit f90580b7ee

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