summaryrefslogtreecommitdiff
path: root/src/mesa/main/get_gen.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/main/get_gen.py')
-rw-r--r--src/mesa/main/get_gen.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/main/get_gen.py b/src/mesa/main/get_gen.py
index 9ae3ce0096..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"
@@ -1225,7 +1226,6 @@ def EmitHeader():
#include "context.h"
#include "enable.h"
#include "extensions.h"
-#include "fbobject.h"
#include "get.h"
#include "macros.h"
#include "mtypes.h"