summaryrefslogtreecommitdiffstats
path: root/src/gui/embedded/qscreenqnx_qws.cpp
diff options
context:
space:
mode:
authorAaron McCarthy <aaron.mccarthy@nokia.com>2010-04-15 07:06:39 (GMT)
committerAaron McCarthy <aaron.mccarthy@nokia.com>2010-04-15 07:06:39 (GMT)
commit519bf02008b8e6f1bf5154ce5c384049c3ebb0d7 (patch)
treeaa325674b7f86749d630f5eb587651007f6a10ca /src/gui/embedded/qscreenqnx_qws.cpp
parent6e189eb28161f2d09e0c71ecd590b7ccfd82321c (diff)
parent414ff1be28af440f1e01a38e497227f3849e8e54 (diff)
downloadQt-519bf02008b8e6f1bf5154ce5c384049c3ebb0d7.zip
Qt-519bf02008b8e6f1bf5154ce5c384049c3ebb0d7.tar.gz
Qt-519bf02008b8e6f1bf5154ce5c384049c3ebb0d7.tar.bz2
Merge remote branch 'staging/4.7' into bearermanagement/qconfig
Diffstat (limited to 'src/gui/embedded/qscreenqnx_qws.cpp')
-rw-r--r--src/gui/embedded/qscreenqnx_qws.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/embedded/qscreenqnx_qws.cpp b/src/gui/embedded/qscreenqnx_qws.cpp
index 705db7e..a0a697f 100644
--- a/src/gui/embedded/qscreenqnx_qws.cpp
+++ b/src/gui/embedded/qscreenqnx_qws.cpp
@@ -205,7 +205,7 @@ static bool createMemSurface(QQnxScreenContext * const d, int w, int h)
int ret = gf_surface_create(&d->memSurface, d->device, w, h,
GF_FORMAT_ARGB8888, 0,
GF_SURFACE_CREATE_CPU_FAST_ACCESS | GF_SURFACE_CREATE_CPU_LINEAR_ACCESSIBLE
- | GF_SURFACE_PHYS_CONTIG);
+ | GF_SURFACE_PHYS_CONTIG | GF_SURFACE_CREATE_SHAREABLE);
if (ret != GF_ERR_OK) {
qWarning("QQnxScreen: gf_surface_create(%dx%d) failed with error code %d",
w, h, ret);