summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/api_validate.h
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2017-05-02 11:32:08 -0600
committerBrian Paul <[email protected]>2017-05-03 08:48:46 -0600
commita30313abf670c114b94a62c20c2f013f58a5ca2f (patch)
tree370acab541b7615d7e5de46d7e4d79d209accf0e /src/mesa/main/api_validate.h
parentf57e234fdd52331d0aa6656a36efdebea9d11e9d (diff)
mesa: add const qualifier on _mesa_valid_to_render()
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/mesa/main/api_validate.h')
-rw-r--r--src/mesa/main/api_validate.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/api_validate.h b/src/mesa/main/api_validate.h
index 93ec93d7bcb..88c51bf9137 100644
--- a/src/mesa/main/api_validate.h
+++ b/src/mesa/main/api_validate.h
@@ -39,7 +39,7 @@ extern GLboolean
_mesa_valid_to_render(struct gl_context *ctx, const char *where);
extern bool
-_mesa_is_valid_prim_mode(struct gl_context *ctx, GLenum mode);
+_mesa_is_valid_prim_mode(const struct gl_context *ctx, GLenum mode);
extern GLboolean
_mesa_valid_prim_mode(struct gl_context *ctx, GLenum mode, const char *name);