diff options
author | Tom Cooksey <thomas.cooksey@nokia.com> | 2009-09-03 14:24:17 (GMT) |
---|---|---|
committer | Tom Cooksey <thomas.cooksey@nokia.com> | 2009-09-04 12:42:52 (GMT) |
commit | b3b9813f1083fc556aea1f952329551da97aee90 (patch) | |
tree | c6f6f680c70bd5c795bf6e17eeb90820c0a16ad2 /demos/qtdemo/dockitem.cpp | |
parent | dfa5a8acc44d2acda4d32ee79f2556fb030c3ab1 (diff) | |
download | Qt-b3b9813f1083fc556aea1f952329551da97aee90.zip Qt-b3b9813f1083fc556aea1f952329551da97aee90.tar.gz Qt-b3b9813f1083fc556aea1f952329551da97aee90.tar.bz2 |
Make QGLFramebufferObject::isBound() check it is the bound fbo
Previously, it was possible that painting using QPainter to a different
GL target (E.g. QGLWidget) would unbind the FBO. In such cases, isBound
returned true, even though the FBO wasn't bound to any context.
Reviewed-by: Samuel
Diffstat (limited to 'demos/qtdemo/dockitem.cpp')
0 files changed, 0 insertions, 0 deletions