summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/api_validate.h
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2016-09-30 10:25:05 -0600
committerBrian Paul <[email protected]>2016-09-30 16:28:00 -0600
commit951bf44a56d3236550d4d910741c10d5e0d1311b (patch)
tree2e7bc9081ad49cf29cb215f737a42fae2ef75d76 /src/mesa/main/api_validate.h
parente99b9395befe5b8612df3163b4deec2a0c0cb702 (diff)
mesa: move _mesa_valid_to_render() to api_validate.c
Almost all of the other drawing validation code is in api_validate.c so put this function there as well. Reviewed-by: Anuj Phogat <[email protected]>
Diffstat (limited to 'src/mesa/main/api_validate.h')
-rw-r--r--src/mesa/main/api_validate.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/main/api_validate.h b/src/mesa/main/api_validate.h
index 5b321e3ac99..2eba834c50d 100644
--- a/src/mesa/main/api_validate.h
+++ b/src/mesa/main/api_validate.h
@@ -35,6 +35,9 @@ struct gl_context;
struct gl_transform_feedback_object;
+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);