vghwinterface/vghwapiwrapper/src/opengles11apiwrapper.cpp
branchbug235_bringup_0
changeset 71 243bbc1d70db
parent 53 c2ef9095503a
--- 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 )