summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim Motoyoshi Kalland <kim.kalland@nokia.com>2009-08-17 09:37:39 (GMT)
committerKim Motoyoshi Kalland <kim.kalland@nokia.com>2009-08-17 14:56:07 (GMT)
commit994ca2d739830ea30334d1aca080813d7db4498c (patch)
treebe398ef61e8479a770741d51039cfd46d389a3c3
parent351f8f97fbb2996827f8345cf4dc26afe4208cea (diff)
downloadQt-994ca2d739830ea30334d1aca080813d7db4498c.zip
Qt-994ca2d739830ea30334d1aca080813d7db4498c.tar.gz
Qt-994ca2d739830ea30334d1aca080813d7db4498c.tar.bz2
Removed unused member variable from QGLFramebufferObjectPrivate.
Reviewed-by: Samuel
-rw-r--r--src/opengl/qglframebufferobject.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/opengl/qglframebufferobject.cpp b/src/opengl/qglframebufferobject.cpp
index f48c18d..b93cee8 100644
--- a/src/opengl/qglframebufferobject.cpp
+++ b/src/opengl/qglframebufferobject.cpp
@@ -275,7 +275,6 @@ public:
GLenum target;
QSize size;
QGLFramebufferObjectFormat format;
- int samples;
uint valid : 1;
uint bound : 1;
QGLFramebufferObject::Attachment fbo_attachment;
@@ -368,7 +367,6 @@ void QGLFramebufferObjectPrivate::init(const QSize &sz, QGLFramebufferObject::At
valid = checkFramebufferStatus();
color_buffer = 0;
- samples = 0;
} else {
GLint maxSamples;
glGetIntegerv(GL_MAX_SAMPLES_EXT, &maxSamples);