diff options
author | Brian Paul <[email protected]> | 2015-09-17 09:49:07 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2015-09-22 10:15:32 -0600 |
commit | b590ffd0f95bfe5ff7d44412e4916bba40630be9 (patch) | |
tree | 923cfd1b217c230657b0a6f641dbcab3f6187580 /src/mesa/main/texstorage.h | |
parent | acee1a322d0a483aa155ff05cfaa124e84865656 (diff) |
mesa: const-qualify _mesa_is_legal_tex_storage_format ctx param
Reviewed-by: Matt Turner <[email protected]>
Diffstat (limited to 'src/mesa/main/texstorage.h')
-rw-r--r-- | src/mesa/main/texstorage.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/main/texstorage.h b/src/mesa/main/texstorage.h index 033ecb7edaa..e80a9ff5b99 100644 --- a/src/mesa/main/texstorage.h +++ b/src/mesa/main/texstorage.h @@ -111,7 +111,8 @@ _mesa_TextureStorage3DEXT(GLuint texture, GLenum target, GLsizei levels, GLsizei width, GLsizei height, GLsizei depth); extern GLboolean -_mesa_is_legal_tex_storage_format(struct gl_context *ctx, GLenum internalformat); +_mesa_is_legal_tex_storage_format(const struct gl_context *ctx, + GLenum internalformat); extern GLboolean _mesa_AllocTextureStorage_sw(struct gl_context *ctx, |