summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/drawpix.c
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/drawpix.c
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/drawpix.c')
-rw-r--r--src/mesa/main/drawpix.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/main/drawpix.c b/src/mesa/main/drawpix.c
index 720a082ce6d..ec1d2618cad 100644
--- a/src/mesa/main/drawpix.c
+++ b/src/mesa/main/drawpix.c
@@ -24,6 +24,7 @@
#include "glheader.h"
#include "imports.h"
+#include "api_validate.h"
#include "bufferobj.h"
#include "context.h"
#include "drawpix.h"