diff options
author | Kim Motoyoshi Kalland <kim.kalland@nokia.com> | 2010-06-02 13:50:13 +0200 |
---|---|---|
committer | Kim Motoyoshi Kalland <kim.kalland@nokia.com> | 2010-06-02 14:18:01 +0200 |
commit | 85695ff1643be61eb0ef0dbae89c46ebad06c84d (patch) | |
tree | 21d94b9d8535e77a8e94d881e9f006556b86bdb1 /src/opengl/qglframebufferobject.h | |
parent | b956e12165beb11e92f3d9b65aa488cd120ec6c8 (diff) | |
download | qt4-tools-85695ff1643be61eb0ef0dbae89c46ebad06c84d.tar.gz |
Added static version of QGLFramebufferObject::release().
The function is marked internal for now.
Reviewed-by: Gunnar
Diffstat (limited to 'src/opengl/qglframebufferobject.h')
-rw-r--r-- | src/opengl/qglframebufferobject.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/opengl/qglframebufferobject.h b/src/opengl/qglframebufferobject.h index 306b6ff39c..6ff66457f7 100644 --- a/src/opengl/qglframebufferobject.h +++ b/src/opengl/qglframebufferobject.h @@ -108,6 +108,8 @@ public: QPaintEngine *paintEngine() const; GLuint handle() const; + static bool bindDefault(); + static bool hasOpenGLFramebufferObjects(); void drawTexture(const QRectF &target, GLuint textureId, GLenum textureTarget = GL_TEXTURE_2D); |