OSDN Git Service

glapi: Generate typedef for GLeglImageOES.
authorChia-I Wu <olvaffe@gmail.com>
Mon, 14 Sep 2009 05:46:45 +0000 (13:46 +0800)
committerChia-I Wu <olvaffe@gmail.com>
Mon, 14 Sep 2009 08:05:46 +0000 (16:05 +0800)
src/mesa/glapi/gl_table.py

index 6c7331e..908d966 100644 (file)
@@ -50,6 +50,8 @@ class PrintGlTable(gl_XML.gl_print_base):
                                        typedefs.append("typedef int GLfixed;")
                                elif t.name == "clampx":
                                        typedefs.append("typedef int GLclampx;")
+                               elif t.name == "eglImageOES":
+                                       typedefs.append("typedef void *GLeglImageOES;")
                        if typedefs:
                                print '#ifndef HAVE_GLES_TYPES'
                                print "\n".join(typedefs)