mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 02:58:05 +02:00
mapi/new: fixup the GLDEBUGPROCKHR typedef to the non KHR one
This way we can reuse the latter, which is already present in the headers that we use. Thus we can drop the manual typedef we generate. 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
babec55f7e
commit
5fa6c34949
2 changed files with 1 additions and 1 deletions
|
|
@ -227,6 +227,7 @@ def _fixupTypeName(typeName):
|
|||
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.
|
||||
rv = rv.strip()
|
||||
|
|
|
|||
|
|
@ -58,7 +58,6 @@ def _main():
|
|||
#ifndef _GLAPI_TMP_H_
|
||||
#define _GLAPI_TMP_H_
|
||||
typedef int GLclampx;
|
||||
typedef void (APIENTRY *GLDEBUGPROCKHR)(GLenum source,GLenum type,GLuint id,GLenum severity,GLsizei length,const GLchar *message,const void *userParam);
|
||||
#endif /* _GLAPI_TMP_H_ */
|
||||
""".lstrip("\n"))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue