mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-29 11:40:31 +01:00
mesa: s/abort/sys.exit/
Python does not have the function abort.
This commit is contained in:
parent
672f98baf7
commit
bf1096a778
1 changed files with 2 additions and 1 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue