glapi/glx: Xserver wants dispatch.h, not glapidispatch.h
authorIan Romanick <ian.d.romanick@intel.com>
Mon, 5 Dec 2011 23:20:06 +0000 (15:20 -0800)
committerIan Romanick <ian.d.romanick@intel.com>
Wed, 14 Dec 2011 00:07:17 +0000 (16:07 -0800)
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Adam Jackson <ajax@redhat.com>
src/mapi/glapi/gen/Makefile
src/mapi/glapi/gen/glX_proto_recv.py

index 13bd383..c409285 100644 (file)
@@ -43,9 +43,8 @@ XORG_GLAPI_DIR = $(XORG_BASE)/glx
 
 XORG_GLAPI_OUTPUTS = \
        $(XORG_GLAPI_DIR)/glprocs.h \
-       $(XORG_GLAPI_DIR)/glapioffsets.h \
        $(XORG_GLAPI_DIR)/glapitable.h \
-       $(XORG_GLAPI_DIR)/glapidispatch.h \
+       $(XORG_GLAPI_DIR)/dispatch.h \
        $(XORG_GLAPI_DIR)/glapi_gentable.c
 
 XORG_OUTPUTS = \
@@ -141,6 +140,9 @@ clean:
 $(XORG_GLAPI_DIR)/%.c: $(MESA_GLAPI_DIR)/%.c
        cp $< $@
 
+$(XORG_GLAPI_DIR)/dispatch.h: $(MESA_DIR)/main/dispatch.h
+       cp $< $@
+
 $(XORG_GLAPI_DIR)/%.h: $(MESA_GLAPI_DIR)/%.h
        cp $< $@
 
index 31745fc..f423c6d 100644 (file)
@@ -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 "glapidispatch.h"'
+               print '#include "dispatch.h"'
                print ''
                print '#define __GLX_PAD(x)  (((x) + 3) & ~3)'
                print ''