From: Brian Paul Date: Tue, 16 Aug 2011 19:05:26 +0000 (-0600) Subject: mesa: ChooseTextureFormat() returns gl_format, not GLuint X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=11e4ea0010c3a756cfdaf427c14e104c9a11a645;p=mesa.git mesa: ChooseTextureFormat() returns gl_format, not GLuint --- diff --git a/src/mesa/main/dd.h b/src/mesa/main/dd.h index e0c5844e193..b5ed9a40c70 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 ); /**