Only define debugging GL globals when the code paths are enabled
git-svn-id: http://skia.googlecode.com/svn/trunk@1212 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
parent
0533971c5f
commit
d5d10494e3
@ -43,6 +43,11 @@ void GrGLRestoreResetRowLength() {
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
bool gLogCallsGL = !!(GR_GL_LOG_CALLS_START);
|
||||
#if GR_GL_LOG_CALLS
|
||||
bool gLogCallsGL = !!(GR_GL_LOG_CALLS_START);
|
||||
#endif
|
||||
|
||||
#if GR_GL_CHECK_ERROR
|
||||
bool gCheckErrorGL = !!(GR_GL_CHECK_ERROR_START);
|
||||
#endif
|
||||
|
||||
bool gCheckErrorGL = !!(GR_GL_CHECK_ERROR_START);
|
||||
|
Loading…
Reference in New Issue
Block a user