egl/egltest/src/egltest_vgimagetosurfaces.cpp
branchRCL_3
changeset 26 15986eb6c500
parent 0 5d03bc08d59c
child 160 969102054596
--- 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);