mesa: const-qualify _mesa_base_tex_format() ctx param

Reviewed-by: Matt Turner <mattst88@gmail.com>
This commit is contained in:
Brian Paul
2015-09-17 09:47:36 -06:00
parent 4879b76601
commit acee1a322d
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -130,7 +130,7 @@ adjust_for_oes_float_texture(GLenum format, GLenum type)
* texture format and env mode determine the arithmetic used.
*/
GLint
_mesa_base_tex_format( struct gl_context *ctx, GLint internalFormat )
_mesa_base_tex_format(const struct gl_context *ctx, GLint internalFormat)
{
switch (internalFormat) {
case GL_ALPHA:
+1 -1
View File
@@ -60,7 +60,7 @@ _mesa_is_zero_size_texture(const struct gl_texture_image *texImage)
/*@{*/
extern GLint
_mesa_base_tex_format( struct gl_context *ctx, GLint internalFormat );
_mesa_base_tex_format(const struct gl_context *ctx, GLint internalFormat);
extern GLboolean