diff options
author | Samuel Rødal <sroedal@trolltech.com> | 2009-09-04 11:20:52 (GMT) |
---|---|---|
committer | Samuel Rødal <sroedal@trolltech.com> | 2009-09-04 11:30:08 (GMT) |
commit | 9d85dcf10d580a45c261e3e1a8d8df7d41cb9437 (patch) | |
tree | e76fdbf00784369987304df12a03bf38801566fc /src/opengl/qglframebufferobject.h | |
parent | 74cb4b7ca71e64d08fab7d4e00a15e29fa339f5b (diff) | |
download | Qt-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.h | 6 |
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: |