summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChia-I Wu <olv@lunarg.com>2010-02-24 12:04:58 +0800
committerChia-I Wu <olv@lunarg.com>2010-02-25 21:32:45 +0800
commit4cb13b433cfdaa1295e5df048d7ef614545f6e16 (patch)
treef1a2b022ada6f8ac2f94c164006c9879a5c066ab
parent2be1fcaafef8af672434553c4bdca73a9db6934d (diff)
glapi: Generated GLX sources should use glapidispatch.h.
Fix glX_proto_recv.py and glX_proto_send.py, and regenerate the sources.
-rw-r--r--src/glx/indirect.c2
-rw-r--r--src/mesa/glapi/gen/glX_proto_recv.py2
-rw-r--r--src/mesa/glapi/gen/glX_proto_send.py2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/glx/indirect.c b/src/glx/indirect.c
index 262637a947..4a571a230b 100644
--- a/src/glx/indirect.c
+++ b/src/glx/indirect.c
@@ -30,7 +30,7 @@
#include "indirect.h"
#include "glxclient.h"
#include "indirect_size.h"
-#include "dispatch.h"
+#include "glapidispatch.h"
#include "glapi.h"
#include "glthread.h"
#include <GL/glxproto.h>
diff --git a/src/mesa/glapi/gen/glX_proto_recv.py b/src/mesa/glapi/gen/glX_proto_recv.py
index f423c6db08..31745fcef7 100644
--- a/src/mesa/glapi/gen/glX_proto_recv.py
+++ b/src/mesa/glapi/gen/glX_proto_recv.py
@@ -92,7 +92,7 @@ class PrintGlxDispatchFunctions(glX_proto_common.glx_print_proto):
print '#include "glapi.h"'
print '#include "glapitable.h"'
print '#include "glthread.h"'
- print '#include "dispatch.h"'
+ print '#include "glapidispatch.h"'
print ''
print '#define __GLX_PAD(x) (((x) + 3) & ~3)'
print ''
diff --git a/src/mesa/glapi/gen/glX_proto_send.py b/src/mesa/glapi/gen/glX_proto_send.py
index daca1b767a..4d484c833a 100644
--- a/src/mesa/glapi/gen/glX_proto_send.py
+++ b/src/mesa/glapi/gen/glX_proto_send.py
@@ -166,7 +166,7 @@ class PrintGlxProtoStubs(glX_proto_common.glx_print_proto):
print '#include "indirect.h"'
print '#include "glxclient.h"'
print '#include "indirect_size.h"'
- print '#include "dispatch.h"'
+ print '#include "glapidispatch.h"'
print '#include "glapi.h"'
print '#include "glthread.h"'
print '#include <GL/glxproto.h>'