mesa: add const qualifier on _mesa_base_fbo_format()
Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
This commit is contained in:
parent
08ba4a103f
commit
ca78b6b4f4
|
@ -1804,7 +1804,7 @@ _mesa_CreateRenderbuffers(GLsizei n, GLuint *renderbuffers)
|
|||
* \return the base internal format, or 0 if internalFormat is illegal
|
||||
*/
|
||||
GLenum
|
||||
_mesa_base_fbo_format(struct gl_context *ctx, GLenum internalFormat)
|
||||
_mesa_base_fbo_format(const struct gl_context *ctx, GLenum internalFormat)
|
||||
{
|
||||
/*
|
||||
* Notes: some formats such as alpha, luminance, etc. were added
|
||||
|
|
|
@ -112,7 +112,7 @@ extern GLboolean
|
|||
_mesa_is_legal_color_format(const struct gl_context *ctx, GLenum baseFormat);
|
||||
|
||||
extern GLenum
|
||||
_mesa_base_fbo_format(struct gl_context *ctx, GLenum internalFormat);
|
||||
_mesa_base_fbo_format(const struct gl_context *ctx, GLenum internalFormat);
|
||||
|
||||
extern bool
|
||||
_mesa_detach_renderbuffer(struct gl_context *ctx,
|
||||
|
|
Loading…
Reference in New Issue