summaryrefslogtreecommitdiffstats
path: root/src/mapi
diff options
context:
space:
mode:
authorEmil Velikov <[email protected]>2018-11-20 16:43:41 +0000
committerEmil Velikov <[email protected]>2019-01-24 18:13:25 +0000
commit389bc2bc6e6410b1b4fc1c470a5c2fce871f7b63 (patch)
tree1d7033f7461d5af5ef73437859b2c4ea18d92cd7 /src/mapi
parent5fa6c3494965e3b01b513c69d16ac31a43e0324a (diff)
mapi/new: remove duplicate GLvoid/void substitution
We already do it a few lines above - drop the duplicate. Note that for consistency sake, we keep the substitution since the GL API is a mixed bad - some use GLvoid while others a normal void. We might want to merge this back in GLVND. Signed-off-by: Emil Velikov <[email protected]> Reviewed-by: Erik Faye-Lund <[email protected]>
Diffstat (limited to 'src/mapi')
-rw-r--r--src/mapi/new/genCommon.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/mapi/new/genCommon.py b/src/mapi/new/genCommon.py
index f4eb1728e95..a9fdbcdc9ee 100644
--- a/src/mapi/new/genCommon.py
+++ b/src/mapi/new/genCommon.py
@@ -226,7 +226,6 @@ def _fixupTypeName(typeName):
# Remove the vendor suffixes from types that have a suffix-less version.
rv = re.sub(r"\b(GLhalf|GLintptr|GLsizeiptr|GLint64|GLuint64)(?:ARB|EXT|NV|ATI)\b", r"\1", rv)
- rv = re.sub(r"\bGLvoid\b", "void", rv)
rv = re.sub(r"\bGLDEBUGPROCKHR\b", "GLDEBUGPROC", rv)
# Clear out any leading and trailing whitespace.