mesa: assert if driver did not compute the version
authorJordan Justen <jordan.l.justen@intel.com>
Fri, 16 Nov 2012 21:40:59 +0000 (13:40 -0800)
committerJordan Justen <jordan.l.justen@intel.com>
Sun, 16 Dec 2012 23:30:28 +0000 (15:30 -0800)
commit1358f3a905448f6fb546aba951e317f743a83c76
treeb51cb085d33927a1a46558f3d9b725fd7f06106a
parent075f8722ab78df32878e9b6b721a1263cea53b27
mesa: assert if driver did not compute the version

Make sure drivers initialize the version before:
 * _mesa_initialize_exec_table is called
 * _mesa_initialize_exec_table_vbo is called
 * A context is made current

Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mapi/glapi/gen/gl_genexec.py
src/mesa/main/context.c
src/mesa/main/vtxfmt.c