diff options
author | Brian <[email protected]> | 2009-01-31 12:10:41 -0700 |
---|---|---|
committer | Brian <[email protected]> | 2009-01-31 12:11:40 -0700 |
commit | 0001deef1108b77cf4879fff4647401fb68c421e (patch) | |
tree | 26a4082cd4ec783e8c22bb3dd5a67f7bd2aceeb4 /src/mesa/main/get_gen.py | |
parent | 446abc2799a143c32c4c48472f3f964f9288a623 (diff) |
mesa: more display list cleanups
Remove some unneeded fields. Rename some function parameters.
Diffstat (limited to 'src/mesa/main/get_gen.py')
-rw-r--r-- | src/mesa/main/get_gen.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/get_gen.py b/src/mesa/main/get_gen.py index 83a8f2f786c..3b2496c663e 100644 --- a/src/mesa/main/get_gen.py +++ b/src/mesa/main/get_gen.py @@ -254,7 +254,7 @@ StateVars = [ ["ctx->Const.MinLineWidth", "ctx->Const.MaxLineWidth"], "", None ), ( "GL_LIST_BASE", GLint, ["ctx->List.ListBase"], "", None ), - ( "GL_LIST_INDEX", GLint, ["ctx->ListState.CurrentListNum"], "", None ), + ( "GL_LIST_INDEX", GLint, ["(ctx->ListState.CurrentList ? ctx->ListState.CurrentList->Name : 0)"], "", None ), ( "GL_LIST_MODE", GLenum, ["mode"], """GLenum mode; if (!ctx->CompileFlag) |