mesa: move _mesa_valid_to_render() to api_validate.c
authorBrian Paul <brianp@vmware.com>
Fri, 30 Sep 2016 16:25:05 +0000 (10:25 -0600)
committerBrian Paul <brianp@vmware.com>
Fri, 30 Sep 2016 22:28:00 +0000 (16:28 -0600)
commit951bf44a56d3236550d4d910741c10d5e0d1311b
tree2e7bc9081ad49cf29cb215f737a42fae2ef75d76
parente99b9395befe5b8612df3163b4deec2a0c0cb702
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 <anuj.phogat@gmail.com>
src/mesa/main/api_validate.c
src/mesa/main/api_validate.h
src/mesa/main/context.c
src/mesa/main/context.h
src/mesa/main/drawpix.c