holdingarea/serialization/Graphics/KhronosAPIWrapper/src/eglapiwrapper.cpp
branchbug235_bringup_0
changeset 30 f204b762818d
parent 24 a3f46bb01be2
--- a/holdingarea/serialization/Graphics/KhronosAPIWrapper/src/eglapiwrapper.cpp	Tue Sep 21 15:50:59 2010 +0100
+++ b/holdingarea/serialization/Graphics/KhronosAPIWrapper/src/eglapiwrapper.cpp	Thu Sep 23 13:56:33 2010 +0100
@@ -34,11 +34,11 @@
 	APIWrapperStack* stack, 
 	void* result, 
 	MGraphicsVHWCallback* serviceIf, 
-	void* framebuffer,
+	void* surfacebuffer,
 	KhronosAPIWrapper* aAPIWrapper ):
 	APIWrapper( currentFunctionCallData, stack, result, serviceIf ),
 	m_currentFunctionCall( m_currentFunctionCallData ),
-	m_frameBuffer( framebuffer ),
+	m_surfaceBuffer( surfacebuffer ),
 	m_APIWrapper( aAPIWrapper )
 {
     TRACE("EGLAPIWrapper::EGLAPIWrapper()\n");
@@ -838,8 +838,8 @@
     m_currentFunctionCall.GetEGLint( buffer0Offset, 6 );
     m_currentFunctionCall.GetEGLint( buffer1Offset, 7 );
 
-    void* buffer0 = (void*)((EGLint)m_frameBuffer + buffer0Offset);
-    void* buffer1 = (void*)((EGLint)m_frameBuffer + buffer1Offset);
+    void* buffer0 = (void*)((EGLint)m_surfaceBuffer + buffer0Offset);
+    void* buffer1 = (void*)((EGLint)m_surfaceBuffer + buffer1Offset);
 
 	::eglPlatsimSetSurfaceParams(display, surface, width, height, stride, buffer0, buffer1);
 	m_currentFunctionCall.SetReturnValue( 0 );