diff options
author | Gunnar Sletta <gunnar@trolltech.com> | 2009-09-21 10:24:03 (GMT) |
---|---|---|
committer | Gunnar Sletta <gunnar@trolltech.com> | 2009-09-21 11:09:24 (GMT) |
commit | 5dbd70c6bf294f85663f1c0f809afab73fea2500 (patch) | |
tree | 9e080ca4ddab3cc8901874b2d807c6a9d4594716 /src/opengl/qglpixelbuffer.h | |
parent | 0b9c7fab30bafa24ff55e7eb1bc868517d782486 (diff) | |
download | Qt-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