summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/teximage.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2015-09-17 09:47:36 -0600
committerBrian Paul <[email protected]>2015-09-22 10:15:31 -0600
commitacee1a322d0a483aa155ff05cfaa124e84865656 (patch)
treec880d9e9cf1bcd0eb348e55cf362191422ee126d /src/mesa/main/teximage.c
parent4879b766015eebd01911b40df8bef10081b8fce3 (diff)
mesa: const-qualify _mesa_base_tex_format() ctx param
Reviewed-by: Matt Turner <[email protected]>
Diffstat (limited to 'src/mesa/main/teximage.c')
-rw-r--r--src/mesa/main/teximage.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/teximage.c b/src/mesa/main/teximage.c
index 8913a72ad03..9bc176acf04 100644
--- a/src/mesa/main/teximage.c
+++ b/src/mesa/main/teximage.c
@@ -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: