guestrendering/guestegl/src/guestegl.cpp
branchbug235_bringup_0
changeset 60 dfe4593146ee
parent 59 d9b81aebba7b
child 61 032a79db4ef1
--- a/guestrendering/guestegl/src/guestegl.cpp	Fri Oct 22 10:16:29 2010 +0100
+++ b/guestrendering/guestegl/src/guestegl.cpp	Fri Oct 22 10:54:17 2010 +0100
@@ -1119,9 +1119,9 @@
 		RemoteFunctionCallData rfcdata; EglRFC eglApiData( rfcdata );
 		eglApiData.Init( EglRFC::EeglMakeCurrent );
 		eglApiData.AppendEGLDisplay(aDisplay);
-		eglApiData.AppendEGLSurface(EGL_NO_SURFACE);
-		eglApiData.AppendEGLSurface(EGL_NO_SURFACE);
-		eglApiData.AppendEGLContext(EGL_NO_CONTEXT);
+		eglApiData.AppendEGLSurface(aDraw);
+		eglApiData.AppendEGLSurface(aRead);
+		eglApiData.AppendEGLContext(aContext);
 
 		EGLBoolean ret = aThreadState.ExecEglBooleanCmd(eglApiData);
 		EGL_TRACE("CGuestEGL::eglMakeCurrent end success=%d", ret);