diff options
author | Johannes Zellner <johannes.zellner@nokia.com> | 2010-04-13 16:15:12 (GMT) |
---|---|---|
committer | Johannes Zellner <johannes.zellner@nokia.com> | 2010-04-13 16:15:12 (GMT) |
commit | acbab8c493760467ce35ae2ef8d4a56f2bf327ae (patch) | |
tree | 35aa123beaacdbd8127dfaa0d04f354f64991016 | |
parent | a8094876e3c1194262b13313eee92cff3c0a0021 (diff) | |
download | Qt-acbab8c493760467ce35ae2ef8d4a56f2bf327ae.zip Qt-acbab8c493760467ce35ae2ef8d4a56f2bf327ae.tar.gz Qt-acbab8c493760467ce35ae2ef8d4a56f2bf327ae.tar.bz2 |
Fix QNX screen initialization
Reviewed-by: Harald Fernengel
-rw-r--r-- | src/gui/embedded/qscreenqnx_qws.cpp | 2 |
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); |