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 <emil.velikov@collabora.com> Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
This commit is contained in:
parent
5fa6c34949
commit
389bc2bc6e
|
@ -226,7 +226,6 @@ def _fixupTypeName(typeName):
|
||||||
# Remove the vendor suffixes from types that have a suffix-less version.
|
# 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"\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)
|
rv = re.sub(r"\bGLDEBUGPROCKHR\b", "GLDEBUGPROC", rv)
|
||||||
|
|
||||||
# Clear out any leading and trailing whitespace.
|
# Clear out any leading and trailing whitespace.
|
||||||
|
|
Loading…
Reference in New Issue