mesa: const-qualify _mesa_base_tex_format() ctx param
Reviewed-by: Matt Turner <mattst88@gmail.com>
This commit is contained in:
@@ -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:
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user