summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason Barron <jbarron@trolltech.com>2010-03-18 08:32:04 (GMT)
committerJason Barron <jbarron@trolltech.com>2010-03-18 08:43:32 (GMT)
commit86b95444d6c8c37335524e2b0302fa6cc282b9e8 (patch)
treec908d2ccfb9ca92832ba7448c01d8a6355885e9f
parent7343939f58d6ee3c695ad0a62248fda04f58e1a2 (diff)
downloadQt-86b95444d6c8c37335524e2b0302fa6cc282b9e8.zip
Qt-86b95444d6c8c37335524e2b0302fa6cc282b9e8.tar.gz
Qt-86b95444d6c8c37335524e2b0302fa6cc282b9e8.tar.bz2
Build OpenVG on Symbian with QVG_RECREATE_ON_SIZE_CHANGE.
If the size of the window changes, then there is a chance that this will require a re-allocation so it's better to handle the re-allocation here when the window size has changed because we don't want the error to occur in eglSwapBuffers. Reviewed-by: TrustMe
-rw-r--r--src/openvg/openvg.pro2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/openvg/openvg.pro b/src/openvg/openvg.pro
index c8c9917..3790492 100644
--- a/src/openvg/openvg.pro
+++ b/src/openvg/openvg.pro
@@ -33,6 +33,8 @@ contains(QT_CONFIG, egl) {
qwindowsurface_vgegl.cpp
}
+symbian: DEFINES += QVG_RECREATE_ON_SIZE_CHANGE
+
include(../qbase.pri)
unix:QMAKE_PKGCONFIG_REQUIRES = QtCore QtGui