From e8df62b5a7b2f9a973cdd1fa005c2e8799e09e04 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Wed, 28 Jan 2004 15:15:14 +0000 Subject: [PATCH] patch from bug 885992 --- src/mesa/main/arbparse_syn.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/mesa/main/arbparse_syn.h b/src/mesa/main/arbparse_syn.h index 73ecdc7e668..3d033cd4123 100644 --- a/src/mesa/main/arbparse_syn.h +++ b/src/mesa/main/arbparse_syn.h @@ -849,7 +849,13 @@ static char arb_grammar_text[] = ".syntax program;\n" "stateLModProperty_1\n" " dot .and \"ambient\" .emit LIGHT_MODEL_AMBIENT;\n" "stateLModProperty_2\n" -" optFaceType .and dot .and \"scenecolor\" .emit LIGHT_MODEL_SCENECOLOR;\n" +" stateLModProperty_2A .or stateLModProperty_2B .or stateLModProperty_2C;\n" +"stateLModProperty_2A\n" +" dot .and \"front\" .and dot .and \"scenecolor\" .emit LIGHT_MODEL_SCENECOLOR .emit FACE_FRONT;\n" +"stateLModProperty_2B\n" +" dot .and \"back\" .and dot .and \"scenecolor\" .emit LIGHT_MODEL_SCENECOLOR .emit FACE_BACK;\n" +"stateLModProperty_2C\n" +" dot .and \"scenecolor\" .emit LIGHT_MODEL_SCENECOLOR .emit FACE_FRONT;\n" "stateLightProdItem\n" " \"lightprod\" .and lbracket .and stateLightNumber .and rbracket .and optFaceType .and dot .and\n" " stateLProdProperty .error INVALID_LIGHTPROD_PROPERTY;\n" -- 2.30.2