summaryrefslogtreecommitdiffstats
path: root/src/opengl/qglframebufferobject.h
diff options
context:
space:
mode:
authorSamuel Rødal <sroedal@trolltech.com>2009-09-04 11:20:52 (GMT)
committerSamuel Rødal <sroedal@trolltech.com>2009-09-04 11:30:08 (GMT)
commit9d85dcf10d580a45c261e3e1a8d8df7d41cb9437 (patch)
treee76fdbf00784369987304df12a03bf38801566fc /src/opengl/qglframebufferobject.h
parent74cb4b7ca71e64d08fab7d4e00a15e29fa339f5b (diff)
downloadQt-9d85dcf10d580a45c261e3e1a8d8df7d41cb9437.zip
Qt-9d85dcf10d580a45c261e3e1a8d8df7d41cb9437.tar.gz
Qt-9d85dcf10d580a45c261e3e1a8d8df7d41cb9437.tar.bz2
Slightly improved QGLFramebufferObjectFormat API.
Renaming setInternalFormat() to setInternalTextureFormat() (and similarly for the accessor) makes the API a bit more explicit. Reviewed-by: Trond
Diffstat (limited to 'src/opengl/qglframebufferobject.h')
-rw-r--r--src/opengl/qglframebufferobject.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/opengl/qglframebufferobject.h b/src/opengl/qglframebufferobject.h
index ad14e50..ec1ae7d 100644
--- a/src/opengl/qglframebufferobject.h
+++ b/src/opengl/qglframebufferobject.h
@@ -151,12 +151,12 @@ public:
void setTextureTarget(GLenum target);
GLenum textureTarget() const;
- void setInternalFormat(GLenum internalFormat);
- GLenum internalFormat() const;
+ void setInternalTextureFormat(GLenum internalTextureFormat);
+ GLenum internalTextureFormat() const;
#ifdef Q_MAC_COMPAT_GL_FUNCTIONS
void setTextureTarget(QMacCompatGLenum target);
- void setInternalFormat(QMacCompatGLenum internalFormat);
+ void setInternalTextureFormat(QMacCompatGLenum internalTextureFormat);
#endif
private: