aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/hw
diff options
context:
space:
mode:
Diffstat (limited to 'xorg-server/hw')
-rwxr-xr-x[-rw-r--r--]xorg-server/hw/xwin/glx/glwrap.c2
-rwxr-xr-x[-rw-r--r--]xorg-server/hw/xwin/glx/indirect.c4
-rwxr-xr-x[-rw-r--r--]xorg-server/hw/xwin/glx/makefile0
-rwxr-xr-x[-rw-r--r--]xorg-server/hw/xwin/swrastwgl_dri/glwrap.c2
-rwxr-xr-x[-rw-r--r--]xorg-server/hw/xwin/swrastwgl_dri/makefile0
-rwxr-xr-x[-rw-r--r--]xorg-server/hw/xwin/swrastwgl_dri/swrastwgl_dri.c0
6 files changed, 6 insertions, 2 deletions
diff --git a/xorg-server/hw/xwin/glx/glwrap.c b/xorg-server/hw/xwin/glx/glwrap.c
index 4d2b77343..9733e7526 100644..100755
--- a/xorg-server/hw/xwin/glx/glwrap.c
+++ b/xorg-server/hw/xwin/glx/glwrap.c
@@ -42,6 +42,8 @@
#include <glx/glheader.h>
#include <glx/glxserver.h>
#include <glx/glxext.h>
+#include <glx/glapi.h>
+#include <glx/dispatch.h>
#include <glwindows.h>
#include <winmsg.h>
diff --git a/xorg-server/hw/xwin/glx/indirect.c b/xorg-server/hw/xwin/glx/indirect.c
index 85977cc70..495e366ca 100644..100755
--- a/xorg-server/hw/xwin/glx/indirect.c
+++ b/xorg-server/hw/xwin/glx/indirect.c
@@ -85,6 +85,8 @@
#include <glx/extension_string.h>
#include <glx/glxext.h>
#include <GL/glxtokens.h>
+#include <glx/glapitable.h>
+#include <glx/glapi.h>
#include <winpriv.h>
#include <wgl_ext_api.h>
@@ -1800,10 +1802,8 @@ glxWinCreateContext(__GLXscreen * screen,
//context->ctx = NULL; already done with memset
context->shareContext = shareContext;
-/* TODO how to handle the unknown type glapi_table???
context->Dispatch=calloc(sizeof(void*), (sizeof(struct _glapi_table) / sizeof(void *) + MAX_EXTENSION_FUNCS));
_glapi_set_dispatch(context->Dispatch);
-*/
glWinSetupDispatchTable();
diff --git a/xorg-server/hw/xwin/glx/makefile b/xorg-server/hw/xwin/glx/makefile
index 3b0413312..3b0413312 100644..100755
--- a/xorg-server/hw/xwin/glx/makefile
+++ b/xorg-server/hw/xwin/glx/makefile
diff --git a/xorg-server/hw/xwin/swrastwgl_dri/glwrap.c b/xorg-server/hw/xwin/swrastwgl_dri/glwrap.c
index 3f8e2091b..6d794b671 100644..100755
--- a/xorg-server/hw/xwin/swrastwgl_dri/glwrap.c
+++ b/xorg-server/hw/xwin/swrastwgl_dri/glwrap.c
@@ -42,6 +42,8 @@
#include <glx/glheader.h>
#include <glx/glxserver.h>
#include <glx/glxext.h>
+#include <glx/glapi.h>
+#include <glx/dispatch.h>
#include <glwindows.h>
#include <winmsg.h>
diff --git a/xorg-server/hw/xwin/swrastwgl_dri/makefile b/xorg-server/hw/xwin/swrastwgl_dri/makefile
index 201f2aeb9..201f2aeb9 100644..100755
--- a/xorg-server/hw/xwin/swrastwgl_dri/makefile
+++ b/xorg-server/hw/xwin/swrastwgl_dri/makefile
diff --git a/xorg-server/hw/xwin/swrastwgl_dri/swrastwgl_dri.c b/xorg-server/hw/xwin/swrastwgl_dri/swrastwgl_dri.c
index 8597e5b4a..8597e5b4a 100644..100755
--- a/xorg-server/hw/xwin/swrastwgl_dri/swrastwgl_dri.c
+++ b/xorg-server/hw/xwin/swrastwgl_dri/swrastwgl_dri.c