--- a/egl/egltest/src/egltest_vgimagetosurfaces.cpp Mon Mar 15 12:45:41 2010 +0200
+++ b/egl/egltest/src/egltest_vgimagetosurfaces.cpp Wed Mar 31 23:34:07 2010 +0300
@@ -389,7 +389,7 @@
return TestStepResult();
}
User::LeaveIfError(res); // leave here if any other error was raised other than the one above.
- iEglSess->CreateWindowSurfaceAndMakeCurrentL(config, window);
+ iEglSess->CreateWindowSurfaceAndMakeCurrentL(config, window, windowFormat == EWindowAttribsColor16MAP);
INFO_PRINTF1(_L("Creating 1 EGLImage from the RSgImage"));
EGLImageKHR imageKHR = iEglSess->eglCreateImageKhrL(iDisplay, EGL_NO_CONTEXT, EGL_NATIVE_PIXMAP_KHR, &sgImage, KEglImageAttribsPreservedTrue);