st/mesa: test for FEATURE defines
authornobled <nobled@dreamwidth.org>
Fri, 13 Aug 2010 20:23:11 +0000 (20:23 +0000)
committerChia-I Wu <olv@lunarg.com>
Mon, 16 Aug 2010 12:29:19 +0000 (20:29 +0800)
commit9d4a0d7d4df3934cdefe4fe1118603e618d59831
tree18430a984a9019edfe1b842f6f4cac6df11e97e5
parent70f9f5f7d4f1daadfcddc0fb0fea324c38353004
st/mesa: test for FEATURE defines

'struct dd_function_table' only conditionally contains
the function pointer NewFramebuffer and friends based on
FEATURE_EXT_framebuffer_* defines. (See src/mesa/main/dd.h)

Fixes the build when the features are disabled and the vfuncs
don't exist.
src/mesa/state_tracker/st_cb_fbo.c