Fix guestegl to actually supply the params for eglMakeCurrent bug235_bringup_0
authorFaisal Memon <faisal.memon@nokia.com>
Fri, 22 Oct 2010 10:54:17 +0100
branchbug235_bringup_0
changeset 60 dfe4593146ee
parent 59 d9b81aebba7b
child 61 032a79db4ef1
Fix guestegl to actually supply the params for eglMakeCurrent
guestrendering/guestegl/src/guestegl.cpp
--- 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);