diff options
author | Jørgen Lind <jorgen.lind@nokia.com> | 2011-01-18 14:15:05 (GMT) |
---|---|---|
committer | Jørgen Lind <jorgen.lind@nokia.com> | 2011-01-26 13:16:07 (GMT) |
commit | d39662822785484ec8e76066f4f2b65ef8778b40 (patch) | |
tree | 386321f3303d22c9330edce8211a936f36d9d62e /src/opengl/qglpaintdevice.cpp | |
parent | af15d5e128c1216bafa4f9d0121bb4178354e35e (diff) | |
download | Qt-d39662822785484ec8e76066f4f2b65ef8778b40.zip Qt-d39662822785484ec8e76066f4f2b65ef8778b40.tar.gz Qt-d39662822785484ec8e76066f4f2b65ef8778b40.tar.bz2 |
Make it possible to vertically mirror gl painting
The GLPaintDevice gets a flip property. If this is set, the pvr matrix
is altered to paint "upside down"
Reviewed-by: sroedal
Diffstat (limited to 'src/opengl/qglpaintdevice.cpp')
-rw-r--r-- | src/opengl/qglpaintdevice.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/opengl/qglpaintdevice.cpp b/src/opengl/qglpaintdevice.cpp index e1dcbfd..c2b2adf 100644 --- a/src/opengl/qglpaintdevice.cpp +++ b/src/opengl/qglpaintdevice.cpp @@ -145,8 +145,10 @@ bool QGLPaintDevice::alphaRequested() const return context()->d_func()->reqFormat.alpha(); } - - +bool QGLPaintDevice::isFlipped() const +{ + return false; +} ////////////////// QGLWidgetGLPaintDevice ////////////////// |