vghwinterface/vghwapiwrapper/src/eglapiwrapper.cpp
branchbug235_bringup_0
changeset 71 243bbc1d70db
parent 56 40cc73c24bf8
--- a/vghwinterface/vghwapiwrapper/src/eglapiwrapper.cpp	Mon Nov 01 18:11:59 2010 +0000
+++ b/vghwinterface/vghwapiwrapper/src/eglapiwrapper.cpp	Tue Nov 02 09:40:31 2010 +0000
@@ -61,7 +61,9 @@
 {
     TRACE("EGLAPIWrapper::WriteReply()\n");
 #ifdef LOG_ERROR
+#ifdef PRINT_TRACES
 	int operationid = (int)m_currentFunctionCall.Data().Header().iOpCode;
+#endif
 	int eglerror = ::eglSimulatorGetError();
 	if ( m_lastEglError != eglerror )
 	{
@@ -573,7 +575,6 @@
     EGLDisplay dpy;
     EGLConfig config;
     EGLContext share_context;
-	EGLBoolean sgSupporting(EGL_FALSE);
 
     m_currentFunctionCall.GetEGLDisplay( dpy, 0 );
     m_currentFunctionCall.GetEGLConfig( config, 1 );
@@ -926,7 +927,6 @@
 
 	//For storing all the configs
 	EGLConfig*  allConfigs = 0;
-	EGLint      allConfigsSize = 0;//size of the array
 	EGLint      allConfigsCnt = 0;//Number of actually received configurations
 
 	//Allocate temporary storage for the attributes for each config