summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorVinson Lee <vlee@vmware.com>2010-02-13 00:05:29 -0800
committerVinson Lee <vlee@vmware.com>2010-02-13 00:05:29 -0800
commitbf1096a778e9537d9e0970660effdf307115faf0 (patch)
treee4a2aadeba8f83d4c3713e13576ea276073bb13d /src
parent672f98baf7aa04e90d4bb5fe28f0c1acb6d8aa0b (diff)
mesa: s/abort/sys.exit/
Python does not have the function abort.
Diffstat (limited to 'src')
-rw-r--r--src/mesa/main/get_gen.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/main/get_gen.py b/src/mesa/main/get_gen.py
index b37a373547..64aa2aca26 100644
--- a/src/mesa/main/get_gen.py
+++ b/src/mesa/main/get_gen.py
@@ -27,6 +27,7 @@
import string
+import sys
GLint = 1
@@ -1134,7 +1135,7 @@ def EmitGetFunction(stateVars, returnType, indexed):
elif returnType == GLint64:
function = "GetInteger64v"
else:
- abort()
+ sys.exit(1)
if returnType == GLint64:
print "#if FEATURE_ARB_sync"