src/opengl/qglframebufferobject_p.h
branchRCL_3
changeset 8 3f74d0d4af4c
parent 4 3b1da2848fc7
--- 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