mirror of
https://github.com/nigels-com/glew.git
synced 2024-11-22 13:55:07 +00:00
EGL fixup for void parameter lists, additional defines
This commit is contained in:
parent
a755351991
commit
15881f0421
@ -93,7 +93,10 @@ def writeExtension(f, name, extension, enums, commands):
|
|||||||
f.write('\t%s %s\n'%(e[0], e[1]))
|
f.write('\t%s %s\n'%(e[0], e[1]))
|
||||||
commands = [ (j, commands[j]) for j in extension[1] ]
|
commands = [ (j, commands[j]) for j in extension[1] ]
|
||||||
for c in sorted(commands):
|
for c in sorted(commands):
|
||||||
f.write('\t%s %s (%s)\n'%(c[1][0], c[0], ', '.join( [ '%s %s'%(j[0], j[1]) for j in c[1][1] ] )))
|
params = ', '.join( [ '%s %s'%(j[0], j[1]) for j in c[1][1] ] )
|
||||||
|
if len(params)==0:
|
||||||
|
params = ' void '
|
||||||
|
f.write('\t%s %s (%s)\n'%(c[1][0], c[0], params))
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
|
|
||||||
|
@ -66,6 +66,16 @@ typedef khronos_utime_nanoseconds_t EGLuint64NV;
|
|||||||
|
|
||||||
struct EGLClientPixmapHI;
|
struct EGLClientPixmapHI;
|
||||||
|
|
||||||
|
#define EGL_DONT_CARE ((EGLint)-1)
|
||||||
|
|
||||||
|
#define EGL_NO_CONTEXT ((EGLContext)0)
|
||||||
|
#define EGL_NO_DISPLAY ((EGLDisplay)0)
|
||||||
|
#define EGL_NO_IMAGE ((EGLImage)0)
|
||||||
|
#define EGL_NO_SURFACE ((EGLSurface)0)
|
||||||
|
#define EGL_NO_SYNC ((EGLSync)0)
|
||||||
|
|
||||||
|
#define EGL_UNKNOWN ((EGLint)-1)
|
||||||
|
|
||||||
#define EGL_DEFAULT_DISPLAY ((EGLNativeDisplayType)0)
|
#define EGL_DEFAULT_DISPLAY ((EGLNativeDisplayType)0)
|
||||||
|
|
||||||
EGLAPI __eglMustCastToProperFunctionPointerType EGLAPIENTRY eglGetProcAddress (const char *procname);
|
EGLAPI __eglMustCastToProperFunctionPointerType EGLAPIENTRY eglGetProcAddress (const char *procname);
|
||||||
|
Loading…
Reference in New Issue
Block a user