Bug #13492: Only call ProgramStringNotify if program parsing succeeded.
authorEric Anholt <eric@anholt.net>
Tue, 15 Jan 2008 23:08:34 +0000 (15:08 -0800)
committerEric Anholt <eric@anholt.net>
Tue, 15 Jan 2008 23:10:39 +0000 (15:10 -0800)
commit185320ae13163995ea61e38104ab5aeaeb28d8e5
tree3a55aa5161e8aedc3bd3a4c3344a9f077bb7a768
parent4652e351a2e617838e4a75ba7857b644211f03d5
Bug #13492: Only call ProgramStringNotify if program parsing succeeded.

Wine intentionally tries some out-of-spec programs to test strictness, and
calling ProgramStringNotify on the results of a failed program parse resulted
in crashes in the 965 driver.
src/mesa/shader/arbprogram.c