egl/egltest/src/egltest_vgimagetosurfaces.cpp
changeset 36 01a6848ebfd7
parent 0 5d03bc08d59c
child 160 969102054596
--- a/egl/egltest/src/egltest_vgimagetosurfaces.cpp	Tue Feb 02 01:47:50 2010 +0200
+++ b/egl/egltest/src/egltest_vgimagetosurfaces.cpp	Fri Apr 16 16:21:04 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);