mirror of
https://github.com/overte-org/overte.git
synced 2025-07-28 20:31:39 +02:00
Putting the GLERRORCHECK only in debug
This commit is contained in:
parent
e6ac502fb5
commit
045dbb11a3
1 changed files with 4 additions and 1 deletions
|
@ -49,7 +49,10 @@ static const GLenum _elementTypeToGLType[NUM_TYPES]= {
|
||||||
GL_UNSIGNED_BYTE
|
GL_UNSIGNED_BYTE
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#if _DEBUG
|
||||||
#define CHECK_GL_ERROR() ::gpu::GLBackend::checkGLError()
|
#define CHECK_GL_ERROR() ::gpu::GLBackend::checkGLError()
|
||||||
//#define CHECK_GL_ERROR()
|
#else
|
||||||
|
#define CHECK_GL_ERROR()
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue