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)
committerBrian Paul <brian.paul@tungstengraphics.com>
Wed, 14 May 2008 22:37:20 +0000 (16:37 -0600)
commit23db6287d41494799a4d171bae628b0d2e9baf36
treeef3cb0be3d50f83d55ecca75580eb0fc1dd63126
parent217e5b555189c1bd8213b439130944a18118d23b
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