summaryrefslogtreecommitdiff
path: root/examples/opengl/framebufferobject/glwidget.h
diff options
context:
space:
mode:
authorSamuel Rødal <sroedal@trolltech.com>2009-03-11 18:47:47 +0100
committerGunnar Sletta <gunnar@trolltech.com>2009-04-01 16:35:48 +0200
commit860498a1e63bff2b5a52accda92256c36ba5c23d (patch)
treea238fbec3d08ca7481712acfd768f08ed006129d /examples/opengl/framebufferobject/glwidget.h
parentb469889f6f9b49f2e52948e3419958b0d8bfc994 (diff)
downloadqt4-tools-860498a1e63bff2b5a52accda92256c36ba5c23d.tar.gz
Fixes: Use the blit/multisample FBO API in the framebuffer object example.
RevBy: Trond
Diffstat (limited to 'examples/opengl/framebufferobject/glwidget.h')
-rw-r--r--examples/opengl/framebufferobject/glwidget.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/opengl/framebufferobject/glwidget.h b/examples/opengl/framebufferobject/glwidget.h
index b64cfa87f2..d97ef7839e 100644
--- a/examples/opengl/framebufferobject/glwidget.h
+++ b/examples/opengl/framebufferobject/glwidget.h
@@ -77,6 +77,7 @@ private:
QImage logo;
QTimeLine *anim;
QSvgRenderer *svg_renderer;
- QGLFramebufferObject *fbo;
+ QGLFramebufferObject *render_fbo;
+ QGLFramebufferObject *texture_fbo;
};