diff -r 2717213c588a -r d72fc2aace31 egl/egltest/src/egltest_image.cpp --- a/egl/egltest/src/egltest_image.cpp Tue Jun 22 15:21:29 2010 +0300 +++ b/egl/egltest/src/egltest_image.cpp Tue Jul 20 13:27:44 2010 +0300 @@ -1,4 +1,4 @@ -// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies). +// Copyright (c) 2007-2010 Nokia Corporation and/or its subsidiary(-ies). // All rights reserved. // This component and the accompanying materials are made available // under the terms of "Eclipse Public License v1.0" @@ -146,6 +146,7 @@ address += (bitmapSize.iHeight - 1) * stride; vgWritePixels(address, -stride, KDefaultSurfaceFormat,0,0, bitmapSize.iWidth, bitmapSize.iHeight); ASSERT_TRUE(vgGetError()==VG_NO_ERROR); + eglWaitClient(); // wait for writing to finish ASSERT_EGL_TRUE(eglDestroySurface(iDisplay, surface)); //Destroying Surface handle INFO_PRINTF1(_L("Create a EGLImage out of the SgImage"));