Mesa (master): mesa: ChooseTextureFormat() returns gl_format, not GLuint

Brian Paul brianp at kemper.freedesktop.org
Tue Aug 16 12:09:41 PDT 2011


Module: Mesa
Branch: master
Commit: 11e4ea0010c3a756cfdaf427c14e104c9a11a645
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=11e4ea0010c3a756cfdaf427c14e104c9a11a645

Author: Brian Paul <brianp at vmware.com>
Date:   Tue Aug 16 13:05:26 2011 -0600

mesa: ChooseTextureFormat() returns gl_format, not GLuint

---

 src/mesa/main/dd.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/mesa/main/dd.h b/src/mesa/main/dd.h
index e0c5844..b5ed9a4 100644
--- a/src/mesa/main/dd.h
+++ b/src/mesa/main/dd.h
@@ -194,7 +194,7 @@ struct dd_function_table {
     * cases, srcFormat and srcType can be GL_NONE.
     * Called by glTexImage(), etc.
     */
-   GLuint (*ChooseTextureFormat)( struct gl_context *ctx, GLint internalFormat,
+   gl_format (*ChooseTextureFormat)( struct gl_context *ctx, GLint internalFormat,
                                      GLenum srcFormat, GLenum srcType );
 
    /**



More information about the mesa-commit mailing list