aboutsummaryrefslogtreecommitdiff
path: root/mesalib/src/mesa/main/es_generator.py
diff options
context:
space:
mode:
Diffstat (limited to 'mesalib/src/mesa/main/es_generator.py')
-rw-r--r--mesalib/src/mesa/main/es_generator.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/mesalib/src/mesa/main/es_generator.py b/mesalib/src/mesa/main/es_generator.py
index cad3deaef..b074e9dcf 100644
--- a/mesalib/src/mesa/main/es_generator.py
+++ b/mesalib/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:]