summaryrefslogtreecommitdiffstats
path: root/src/opengl/qglframebufferobject.h
diff options
context:
space:
mode:
authorRhys Weatherley <rhys.weatherley@nokia.com>2009-09-08 03:00:43 (GMT)
committerRhys Weatherley <rhys.weatherley@nokia.com>2009-09-08 03:00:43 (GMT)
commit2ed2632acec45ce4979ce21a0fe93d286a16613c (patch)
tree58e5a824f874fffcf533e04dae1845ace2667cd0 /src/opengl/qglframebufferobject.h
parent79ad2c1d4f5205245c929be1c0db2c678d185038 (diff)
downloadQt-2ed2632acec45ce4979ce21a0fe93d286a16613c.zip
Qt-2ed2632acec45ce4979ce21a0fe93d286a16613c.tar.gz
Qt-2ed2632acec45ce4979ce21a0fe93d286a16613c.tar.bz2
Add operator== and != to QGLFramebufferObjectFormat
Reviewed-by: Sarah Smith
Diffstat (limited to 'src/opengl/qglframebufferobject.h')
-rw-r--r--src/opengl/qglframebufferobject.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/opengl/qglframebufferobject.h b/src/opengl/qglframebufferobject.h
index 6c1c0be..2778ec5 100644
--- a/src/opengl/qglframebufferobject.h
+++ b/src/opengl/qglframebufferobject.h
@@ -159,6 +159,9 @@ public:
void setInternalTextureFormat(QMacCompatGLenum internalTextureFormat);
#endif
+ bool operator==(const QGLFramebufferObjectFormat& other) const;
+ bool operator!=(const QGLFramebufferObjectFormat& other) const;
+
private:
QGLFramebufferObjectFormatPrivate *d;