--- a/openvg/openvgrefimplementation/sfopenvg/vgi/vgi.cpp Fri Jul 16 18:54:03 2010 +0100
+++ b/openvg/openvgrefimplementation/sfopenvg/vgi/vgi.cpp Fri Sep 17 09:40:01 2010 +0100
@@ -138,7 +138,7 @@
__ASSERT_ALWAYS(eglGetError() == EGL_SUCCESS,User::Invariant());
__ASSERT_ALWAYS(numconfigs == 1,User::Invariant());
- TSize maxSize(MAX_WIDTH,MAX_HEIGHT);
+ TSize maxSize(aSize.iWidth, aSize.iHeight);
egl.iPixmap = new(ELeave) CFbsBitmap();
egl.iPixmap->Create( maxSize, EColor16MA );
@@ -182,6 +182,7 @@
eglDestroySurface(egl.iEgldisplay, egl.iEglsurface);
delete egl.iPixmap;
ReleaseTls();
+ eglReleaseThread();
}
VGI_API_CALL TInt VGISymbianResize( TSize aSize )