diff options
Diffstat (limited to 'xorg-server/glx/indirect_program.c')
-rw-r--r-- | xorg-server/glx/indirect_program.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/xorg-server/glx/indirect_program.c b/xorg-server/glx/indirect_program.c index 237da2908..4ba49cd6a 100644 --- a/xorg-server/glx/indirect_program.c +++ b/xorg-server/glx/indirect_program.c @@ -31,6 +31,10 @@ #ifdef HAVE_DIX_CONFIG_H #include <dix-config.h> +#else + +#include "glheader.h" + #endif #include "glxserver.h" @@ -67,7 +71,7 @@ int DoGetProgramString(struct __GLXclientStateRec *cl, GLbyte *pc, xGLXVendorPrivateWithReplyReq * const req = (xGLXVendorPrivateWithReplyReq *) pc; int error; - __GLXcontext * const cx = __glXForceCurrent(cl, req->contextTag, & error); + struct glx_context * const cx = __glXForceCurrent(cl, req->contextTag, & error); ClientPtr client = cl->client; |