diff options
author | Brian Paul <[email protected]> | 2004-01-28 15:15:14 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2004-01-28 15:15:14 +0000 |
commit | e8df62b5a7b2f9a973cdd1fa005c2e8799e09e04 (patch) | |
tree | e8d5eed37eb05f6c5bd6a9111580bee5d6d1e671 /src/mesa/main/arbparse_syn.h | |
parent | c24d40b17897362913c3cc4373ed1ec96a6ea6a4 (diff) |
patch from bug 885992
Diffstat (limited to 'src/mesa/main/arbparse_syn.h')
-rw-r--r-- | src/mesa/main/arbparse_syn.h | 8 |
1 files changed, 7 insertions, 1 deletions
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" |