From 5f6a726d9f2274df1a968e5f3cd3862894b47a38 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Wed, 14 May 2008 19:19:53 -0600 Subject: fix parsing of state.texenv.color (bug 14931) cherry-picked from master --- src/mesa/shader/arbprogram.syn | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/mesa/shader/arbprogram.syn') diff --git a/src/mesa/shader/arbprogram.syn b/src/mesa/shader/arbprogram.syn index ba17d638a3..b12c6a0eda 100644 --- a/src/mesa/shader/arbprogram.syn +++ b/src/mesa/shader/arbprogram.syn @@ -1942,10 +1942,10 @@ stateTexEnvProperty fragment program ::= "" | "[" "]" - -NOTE: is not optional. */ optLegacyTexUnitNum + optLegacyTexUnitNum_1 .or .true .emit 0x00; +optLegacyTexUnitNum_1 lbracket_ne .and legacyTexUnitNum .and rbracket; /* -- cgit v1.2.3