mesa: ChooseTextureFormat() returns gl_format, not GLuint
authorBrian Paul <brianp@vmware.com>
Tue, 16 Aug 2011 19:05:26 +0000 (13:05 -0600)
committerBrian Paul <brianp@vmware.com>
Tue, 16 Aug 2011 19:05:34 +0000 (13:05 -0600)
src/mesa/main/dd.h

index e0c5844..b5ed9a4 100644 (file)
@@ -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 );
 
    /**