OSDN Git Service

make sure vertex programs are only enabled on the hw when they are really enabled...
authorRoland Scheidegger <rscheidegger@gmx.ch>
Fri, 1 Sep 2006 20:21:12 +0000 (20:21 +0000)
committerRoland Scheidegger <rscheidegger@gmx.ch>
Fri, 1 Sep 2006 20:21:12 +0000 (20:21 +0000)
commit91650469aeb01f249bcd553d9d309b3016c2f93c
tree01f782ba6057670e80e7cfb4bdd7a17e7a257068
parent6ec2d37ae80cc8b99e8ab2705aac4d9dd574f77e
make sure vertex programs are only enabled on the hw when they are really enabled, not just when a program enables vertex progs (could still be not enabled due to some error). Otherwise the hw potentially would try to execute a not valid (not set up at all) vertex program, likely leading to lockups. Hopefully fixes #8060.
src/mesa/drivers/dri/r200/r200_state.c
src/mesa/drivers/dri/r200/r200_vertprog.c