mesa: new _mesa_valid_to_render() function
authorBrian Paul <brianp@vmware.com>
Fri, 14 Aug 2009 16:45:17 +0000 (10:45 -0600)
committerBrian Paul <brianp@vmware.com>
Fri, 14 Aug 2009 17:27:33 +0000 (11:27 -0600)
commit56c4226fcc54158eb7fe54eeb13539a979ec155c
tree435506bb41bdcae7999f321650a0cd597f60b40a
parenta48b0a5ce7fc17eab4daa375fb95768fa2f50825
mesa: new _mesa_valid_to_render() function

Tests if the current shader/program is valid and that the framebuffer is
complete.  To be called by glBegin, glDrawArrays, etc.
src/mesa/main/context.c
src/mesa/main/context.h