diff -r 5d03bc08d59c -r 01a6848ebfd7 egl/egltest/src/egltest_vgimagetosurfaces.cpp --- 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);