diff -r 08233365fef6 -r 243bbc1d70db vghwinterface/vghwapiwrapper/src/opengles11apiwrapper.cpp --- a/vghwinterface/vghwapiwrapper/src/opengles11apiwrapper.cpp Mon Nov 01 18:11:59 2010 +0000 +++ b/vghwinterface/vghwapiwrapper/src/opengles11apiwrapper.cpp Tue Nov 02 09:40:31 2010 +0000 @@ -526,7 +526,9 @@ int OGLES11Wrapper::WriteReply() { #ifdef LOG_ERROR +#ifdef PRINT_TRACES int operationid = (int)m_currentFunctionCall.Data().Header().iOpCode; +#endif int glerror = ::glGetError(); if ( m_lastGlError != glerror )