Mesa (floating): fix dri build due to broken glapi generator output

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


Module: Mesa
Branch: floating
Commit: 483d055c0e74c7e6f74e975083fad7e119d7b77f
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=483d055c0e74c7e6f74e975083fad7e119d7b77f

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

fix dri build due to broken glapi generator output

---

 src/glx/indirect_init.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/glx/indirect_init.c b/src/glx/indirect_init.c
index 22c0ab4..7bb6754 100644
--- a/src/glx/indirect_init.c
+++ b/src/glx/indirect_init.c
@@ -53,13 +53,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