vbo: return VP_NONE from get_program_mode() if running fixed-func vertex program
authorBrian Paul <brianp@vmware.com>
Thu, 21 May 2009 15:52:33 +0000 (09:52 -0600)
committerBrian Paul <brianp@vmware.com>
Thu, 21 May 2009 22:10:45 +0000 (16:10 -0600)
commitdda82137d28aba846dda73da230871c115e30aaf
treec73eb0ccecdcf4e3752f2fde059f68bb93a83e33
parenta1f6f82e829d14a9b730f1761ebfc11b4409cb51
vbo: return VP_NONE from get_program_mode() if running fixed-func vertex program

If we're running a vertex program to emulated fixed-function, we still need
to treat vertex arrays/attributes as if we're in fixed-function mode.

This should probably be back-ported to Mesa 7.5 after a bit more testing.
src/mesa/vbo/vbo_context.h