Check mesa_vp->Base.NumInstructions == 0 instead of mesa_vp->Base.String to
authorBrian Paul <brian.paul@tungstengraphics.com>
Mon, 28 Aug 2006 19:42:41 +0000 (19:42 +0000)
committerBrian Paul <brian.paul@tungstengraphics.com>
Mon, 28 Aug 2006 19:42:41 +0000 (19:42 +0000)
commitb5a2fc125516f46fade82a8c65527ffe77cab5c2
tree185ebe5ad285239e05b6cf8ac9be26a4c70d5a96
parent258751f4a0ac505e66346d8e6ccaec7c5a585534
Check mesa_vp->Base.NumInstructions == 0 instead of mesa_vp->Base.String to
determine if we actually have a program.  See "[r300] TCL fallback with Quake3".
src/mesa/drivers/dri/r200/r200_vertprog.c
src/mesa/drivers/dri/r300/r300_vertexprog.c