projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
672f98b
)
mesa: s/abort/sys.exit/
author
Vinson Lee
<vlee@vmware.com>
Sat, 13 Feb 2010 08:05:29 +0000
(
00:05
-0800)
committer
Vinson Lee
<vlee@vmware.com>
Sat, 13 Feb 2010 08:05:29 +0000
(
00:05
-0800)
Python does not have the function abort.
src/mesa/main/get_gen.py
patch
|
blob
|
history
diff --git
a/src/mesa/main/get_gen.py
b/src/mesa/main/get_gen.py
index b37a3735476e718ab4797269b4a9a3b788e5536f..64aa2aca262781c0d74fe1626588bf48a6214fb3 100644
(file)
--- 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"