mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-06-16 19:48:20 +02:00
mesa: const-qualify _mesa_base_tex_format() ctx param
Reviewed-by: Matt Turner <mattst88@gmail.com>
This commit is contained in:
parent
4879b76601
commit
acee1a322d
2 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue