summaryrefslogtreecommitdiffstats
path: root/src/opengl/qglpixelbuffer.h
diff options
context:
space:
mode:
authorGunnar Sletta <gunnar@trolltech.com>2009-09-21 10:24:03 (GMT)
committerGunnar Sletta <gunnar@trolltech.com>2009-09-21 11:09:24 (GMT)
commit5dbd70c6bf294f85663f1c0f809afab73fea2500 (patch)
tree9e080ca4ddab3cc8901874b2d807c6a9d4594716 /src/opengl/qglpixelbuffer.h
parent0b9c7fab30bafa24ff55e7eb1bc868517d782486 (diff)
downloadQt-5dbd70c6bf294f85663f1c0f809afab73fea2500.zip
Qt-5dbd70c6bf294f85663f1c0f809afab73fea2500.tar.gz
Qt-5dbd70c6bf294f85663f1c0f809afab73fea2500.tar.bz2
Refactored gl window surface a bit.
The logic was a bit messy and didn't work on Mac OS X. On Linux we also had issues with 8xxx nvidia cards which didn't render properly. The FBO is now unbound between calls to beginPaint(), which prevents other gl calls from messing it up, which is probably what was the error in the first place. In addition, on Mac OS X, we also call the upatePaintDevice() as a result of setGeometry() to force-update the dimensions of the context. Reviewed-by: Trond
Diffstat (limited to 'src/opengl/qglpixelbuffer.h')
0 files changed, 0 insertions, 0 deletions