diff -r dee5afe5301f -r 3f74d0d4af4c src/opengl/qglframebufferobject_p.h --- a/src/opengl/qglframebufferobject_p.h Mon Mar 15 12:43:09 2010 +0200 +++ b/src/opengl/qglframebufferobject_p.h Thu Apr 08 14:19:33 2010 +0300 @@ -111,14 +111,16 @@ virtual QSize size() const {return fbo->size();} virtual QGLContext* context() const; virtual QGLFormat format() const {return fboFormat;} + virtual bool alphaRequested() const { return reqAlpha; } void setFBO(QGLFramebufferObject* f, QGLFramebufferObject::Attachment attachment); private: - bool wasBound; QGLFramebufferObject* fbo; QGLFormat fboFormat; + bool wasBound; + bool reqAlpha; }; class QGLFramebufferObjectPrivate