aboutsummaryrefslogtreecommitdiff
path: root/mesalib/src/mesa/main/es_generator.py
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2011-05-22 13:28:34 +0000
committermarha <marha@users.sourceforge.net>2011-05-22 13:28:34 +0000
commit52011cfedaa930d61d8f60b283a2051093727582 (patch)
treef433de26ee688bc1dca5ca97c567c9ffc0ac5d48 /mesalib/src/mesa/main/es_generator.py
parent35484135119fcf55fe1cbb1fcdd0e035f581fcfb (diff)
downloadvcxsrv-52011cfedaa930d61d8f60b283a2051093727582.tar.gz
vcxsrv-52011cfedaa930d61d8f60b283a2051093727582.tar.bz2
vcxsrv-52011cfedaa930d61d8f60b283a2051093727582.zip
xserver xkeyboard-config libX11 randrproto pixman glproto mesa git update 22 May 2011
Diffstat (limited to 'mesalib/src/mesa/main/es_generator.py')
-rw-r--r--mesalib/src/mesa/main/es_generator.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/mesalib/src/mesa/main/es_generator.py b/mesalib/src/mesa/main/es_generator.py
index 36bd14d6c..0776cf9a6 100644
--- a/mesalib/src/mesa/main/es_generator.py
+++ b/mesalib/src/mesa/main/es_generator.py
@@ -195,6 +195,10 @@ print """
#include "main/api_exec.h"
#if FEATURE_%s
+
+#ifndef GLAPIENTRYP
+#define GLAPIENTRYP GL_APIENTRYP
+#endif
""" % (versionHeader, versionExtHeader, shortname.upper())
# Everyone needs these types.