Mesa (master): glapi: fix generator which got out of sync with the codebase

Luca Barbieri lb at kemper.freedesktop.org
Mon Aug 30 18:52:54 UTC 2010


Module: Mesa
Branch: master
Commit: 699c82e30ce78c3975b3ce1a6fba148c70a9a78a
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=699c82e30ce78c3975b3ce1a6fba148c70a9a78a

Author: Luca Barbieri <luca at luca-barbieri.com>
Date:   Mon Aug 30 20:48:49 2010 +0200

glapi: fix generator which got out of sync with the codebase

The __GLapi typedef was removed in c356f5867f2c1fad7155df538b9affa8dbdcf869,
but the code generator hasn't been updated.

---

 src/mapi/glapi/gen/glX_proto_send.py |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/mapi/glapi/gen/glX_proto_send.py b/src/mapi/glapi/gen/glX_proto_send.py
index 0ca0ff9..bd41c9e 100644
--- a/src/mapi/glapi/gen/glX_proto_send.py
+++ b/src/mapi/glapi/gen/glX_proto_send.py
@@ -895,13 +895,13 @@ static int NoOp(void)
  * Create and initialize a new GL dispatch table.  The table is initialized
  * with GLX indirect rendering protocol functions.
  */
-__GLapi * __glXNewIndirectAPI( void )
+struct _glapi_table * __glXNewIndirectAPI( void )
 {
-    __GLapi *glAPI;
+    struct _glapi_table *glAPI;
     GLuint entries;
 
     entries = _glapi_get_dispatch_table_size();
-    glAPI = (__GLapi *) Xmalloc(entries * sizeof(void *));
+    glAPI = (struct _glapi_table *) Xmalloc(entries * sizeof(void *));
 
     /* first, set all entries to point to no-op functions */
     {




More information about the mesa-commit mailing list