mesa: Fix OpenGL ES-only builds.
authorChia-I Wu <olv@lunarg.com>
Sat, 3 Jul 2010 08:41:55 +0000 (16:41 +0800)
committerChia-I Wu <olv@lunarg.com>
Sat, 3 Jul 2010 08:48:36 +0000 (16:48 +0800)
commit40ef298641046d0455df9e177b14d33ba618f466
tree40024b56bdb08184ff8f50f9786daaa52379e464
parentc43ab4fe1fbb13bbfe70680c6c608ff0da73be9a
mesa: Fix OpenGL ES-only builds.

Check FEATURE_GL in _mesa_init_shader_dispatch and
_mesa_init_shader_uniform_dispatch.  OpenGL ES can not and does not use
_mesa_init_<...>_dispatch.  This is supposed to be temporary.  Ideally,
a more flexible way for initializing dispatch tables should be
developed.
src/mesa/main/shaderapi.c
src/mesa/main/uniforms.c