mirror of
https://github.com/lubosz/overte.git
synced 2025-04-23 13:33:38 +02:00
Merge pull request #4503 from samcake/orange
Putting the GLERRORCHECK only in debug
This commit is contained in:
commit
f90580b7ee
1 changed files with 4 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue