mesa context: generate an error for uninstalled context functions
authorJordan Justen <jordan.l.justen@intel.com>
Mon, 16 Jul 2012 22:41:26 +0000 (15:41 -0700)
committerJordan Justen <jordan.l.justen@intel.com>
Tue, 24 Jul 2012 18:50:35 +0000 (11:50 -0700)
commit01168df4d999f84105928d69fdd3eeed6baeeab4
treee22f953978a3a07ce14e0d545b088f92682483b8
parent1f9239ec8d67c3e8ee64e6f5306499b6d97ea136
mesa context: generate an error for uninstalled context functions

For 'non-legacy' contexts we will want to generate an error
if an uninstalled function is called.

The effect of this change will be that we can avoid installing
legacy functions, and they will then generate an error as
needed for deprecated functions in GL >= 3.1.

Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/mesa/main/context.c