diff options
Diffstat (limited to 'src/mesa/main/get_gen.py')
-rw-r--r-- | src/mesa/main/get_gen.py | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/mesa/main/get_gen.py b/src/mesa/main/get_gen.py index 21f7750dbd7..d7c543f3681 100644 --- a/src/mesa/main/get_gen.py +++ b/src/mesa/main/get_gen.py @@ -1268,11 +1268,6 @@ def EmitGetFunction(stateVars, returnType, indexed): print " if (!params)" print " return;" print "" - if indexed == 0: - print " if (ctx->Driver.%s &&" % function - print " ctx->Driver.%s(ctx, pname, params))" % function - print " return;" - print "" print " switch (pname) {" for state in stateVars: |