# HG changeset patch # User Faisal Memon # Date 1287741257 -3600 # Node ID dfe4593146ee958d0ab2fbfbdc3e790603d8a65f # Parent d9b81aebba7b29419fba1bd0bbefc1dd963aa12b Fix guestegl to actually supply the params for eglMakeCurrent diff -r d9b81aebba7b -r dfe4593146ee 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);