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 e0c5844e193f47a7aa9e690ccc9094a6df353354..b5ed9a40c7050788198943d9ff4d33ec18053933 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 );
 
    /**