From c1aa1218ef301b0fd0a7c948ac38b531632ceca6 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Fri, 25 Feb 2000 17:04:42 +0000 Subject: [PATCH] changed glXCopyContext mask back to GLuint --- src/mesa/drivers/x11/fakeglx.c | 4 ++-- src/mesa/drivers/x11/glxapi.c | 5 ++--- src/mesa/drivers/x11/glxapi.h | 4 ++-- 3 files changed, 6 insertions(+), 7 deletions(-) diff --git a/src/mesa/drivers/x11/fakeglx.c b/src/mesa/drivers/x11/fakeglx.c index fd57fba..c9e5a2b 100644 --- a/src/mesa/drivers/x11/fakeglx.c +++ b/src/mesa/drivers/x11/fakeglx.c @@ -1,4 +1,4 @@ -/* $Id: fakeglx.c,v 1.22 2000/02/23 23:09:12 brianp Exp $ */ +/* $Id: fakeglx.c,v 1.23 2000/02/25 17:04:42 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -1207,7 +1207,7 @@ Fake_glXDestroyGLXPixmap( Display *dpy, GLXPixmap pixmap ) static void Fake_glXCopyContext( Display *dpy, GLXContext src, GLXContext dst, - unsigned long mask ) + GLuint mask ) { XMesaContext xm_src = (XMesaContext) src; XMesaContext xm_dst = (XMesaContext) dst; diff --git a/src/mesa/drivers/x11/glxapi.c b/src/mesa/drivers/x11/glxapi.c index f7ab770..73fbba3 100644 --- a/src/mesa/drivers/x11/glxapi.c +++ b/src/mesa/drivers/x11/glxapi.c @@ -1,4 +1,4 @@ -/* $Id: glxapi.c,v 1.13 2000/02/25 16:46:01 brianp Exp $ */ +/* $Id: glxapi.c,v 1.14 2000/02/25 17:04:42 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -169,8 +169,7 @@ XVisualInfo *glXChooseVisual(Display *dpy, int screen, int *list) } -void glXCopyContext(Display *dpy, GLXContext src, GLXContext dst, - unsigned long mask) +void glXCopyContext(Display *dpy, GLXContext src, GLXContext dst, GLuint mask) { struct _glxapi_table *t = get_dispatch(dpy); if (!t) diff --git a/src/mesa/drivers/x11/glxapi.h b/src/mesa/drivers/x11/glxapi.h index c9a8f93..64102c4 100644 --- a/src/mesa/drivers/x11/glxapi.h +++ b/src/mesa/drivers/x11/glxapi.h @@ -1,4 +1,4 @@ -/* $Id: glxapi.h,v 1.2 2000/02/23 23:09:12 brianp Exp $ */ +/* $Id: glxapi.h,v 1.3 2000/02/25 17:04:42 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -56,7 +56,7 @@ struct _glxapi_table { /* GLX 1.0 functions */ XVisualInfo *(*ChooseVisual)(Display *dpy, int screen, int *list); - void (*CopyContext)(Display *dpy, GLXContext src, GLXContext dst, unsigned long mask); + void (*CopyContext)(Display *dpy, GLXContext src, GLXContext dst, GLuint mask); GLXContext (*CreateContext)(Display *dpy, XVisualInfo *visinfo, GLXContext shareList, Bool direct); GLXPixmap (*CreateGLXPixmap)(Display *dpy, XVisualInfo *visinfo, Pixmap pixmap); void (*DestroyContext)(Display *dpy, GLXContext ctx); -- 2.7.4