diff options
author | Tom Cooksey <thomas.cooksey@nokia.com> | 2009-09-17 13:39:59 (GMT) |
---|---|---|
committer | Jason McDonald <jason.mcdonald@nokia.com> | 2009-09-21 04:48:09 (GMT) |
commit | aca137332374edb03c8f3b7ea5eba77877531c53 (patch) | |
tree | 9facdccf9c5f5c1a642216e759ff802464d391ff | |
parent | 40ea2b1da6cdedecb08c27c70c1909bb75210727 (diff) | |
download | Qt-aca137332374edb03c8f3b7ea5eba77877531c53.zip Qt-aca137332374edb03c8f3b7ea5eba77877531c53.tar.gz Qt-aca137332374edb03c8f3b7ea5eba77877531c53.tar.bz2 |
Make the PowerVR screen driver for QWS compile against shipped headers
The pvr2d.h/wsegl.h headers we ship with Qt (in src/3rdparty/powervr)
are meant for the PowerVR SGX. However, we use an MBX-specific define in
the powervr driver.
Reviewed-by: Jørgen Lind
(cherry picked from commit a62506aae40ede3fd8030312321759f669458909)
-rw-r--r-- | src/plugins/gfxdrivers/powervr/QWSWSEGL/pvrqwswsegl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/gfxdrivers/powervr/QWSWSEGL/pvrqwswsegl.c b/src/plugins/gfxdrivers/powervr/QWSWSEGL/pvrqwswsegl.c index 8cc6f06..f51e882 100644 --- a/src/plugins/gfxdrivers/powervr/QWSWSEGL/pvrqwswsegl.c +++ b/src/plugins/gfxdrivers/powervr/QWSWSEGL/pvrqwswsegl.c @@ -50,8 +50,8 @@ /* Capability information for the display */ static WSEGLCaps const wseglDisplayCaps[] = { - {WSEGL_CAP_WINDOWS_USE_MBX_SYNC, 1}, - {WSEGL_CAP_PIXMAPS_USE_MBX_SYNC, 1}, + {WSEGL_CAP_WINDOWS_USE_HW_SYNC, 1}, + {WSEGL_CAP_PIXMAPS_USE_HW_SYNC, 1}, {WSEGL_NO_CAPS, 0} }; |