summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/fbobject.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2017-12-05 12:05:18 -0700
committerBrian Paul <[email protected]>2017-12-05 15:32:25 -0700
commitca78b6b4f4230fd4492c26ff917cb941835fc57c (patch)
treec6d863c22e8f534e22506f5ff794f4c57147dc1d /src/mesa/main/fbobject.c
parent08ba4a103f64b3f8c98dff155dbfef64499fea8b (diff)
mesa: add const qualifier on _mesa_base_fbo_format()
Reviewed-by: Timothy Arceri <[email protected]>
Diffstat (limited to 'src/mesa/main/fbobject.c')
-rw-r--r--src/mesa/main/fbobject.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/fbobject.c b/src/mesa/main/fbobject.c
index 30287abf7c8..d23916d1ad7 100644
--- a/src/mesa/main/fbobject.c
+++ b/src/mesa/main/fbobject.c
@@ -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