aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/main/es_generator.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/main/es_generator.py')
-rw-r--r--src/mesa/main/es_generator.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/mesa/main/es_generator.py b/src/mesa/main/es_generator.py
index cad3deaef94..b074e9dcf78 100644
--- a/src/mesa/main/es_generator.py
+++ b/src/mesa/main/es_generator.py
@@ -201,6 +201,10 @@ print """
#endif
""" % (versionHeader, versionExtHeader, shortname.upper())
+if version == "GLES1.1":
+ print '#include "main/es1_conversion.h"'
+ print
+
# Everyone needs these types.
print """
/* These types are needed for the Mesa veneer, but are not defined in
@@ -566,6 +570,9 @@ for funcName in keys:
# endfor every param
+ if conversionCodeOutgoing != [] or conversionCodeIncoming != []:
+ continue
+
# Here, the passthroughDeclarationString and passthroughCallString
# are complete; remove the extra ", " at the front of each.
passthroughDeclarationString = passthroughDeclarationString[2:]