diff options
Diffstat (limited to 'xc/extras/Mesa/src/X')
-rw-r--r-- | xc/extras/Mesa/src/X/fakeglx.c | 8 | ||||
-rw-r--r-- | xc/extras/Mesa/src/X/xm_api.c | 4 |
2 files changed, 8 insertions, 4 deletions
diff --git a/xc/extras/Mesa/src/X/fakeglx.c b/xc/extras/Mesa/src/X/fakeglx.c index 03f8cd396..0fdb6bbf2 100644 --- a/xc/extras/Mesa/src/X/fakeglx.c +++ b/xc/extras/Mesa/src/X/fakeglx.c @@ -1,7 +1,7 @@ /* * Mesa 3-D graphics library - * Version: 4.0.2 + * Version: 4.0.3 * * Copyright (C) 1999-2002 Brian Paul All Rights Reserved. * @@ -65,7 +65,7 @@ #define SERVER_MINOR_VERSION 4 /* This is appended onto the glXGetClient/ServerString version strings. */ -#define MESA_GLX_VERSION "Mesa 4.0.2" +#define MESA_GLX_VERSION "Mesa 4.0.3" /* Who implemented this GLX? */ #define VENDOR "Brian Paul" @@ -1790,7 +1790,11 @@ Fake_glXGetFBConfigAttrib( Display *dpy, GLXFBConfig config, *value = False; /* XXX ??? */ break; case GLX_X_VISUAL_TYPE: +#if defined(__cplusplus) || defined(c_plusplus) + switch (v->vishandle->c_class) { +#else switch (v->vishandle->class) { +#endif case GrayScale: *value = GLX_GRAY_SCALE; break; diff --git a/xc/extras/Mesa/src/X/xm_api.c b/xc/extras/Mesa/src/X/xm_api.c index 0dfad6a8a..44df501f4 100644 --- a/xc/extras/Mesa/src/X/xm_api.c +++ b/xc/extras/Mesa/src/X/xm_api.c @@ -1,7 +1,7 @@ /* * Mesa 3-D graphics library - * Version: 4.0.2 + * Version: 4.0.3 * * Copyright (C) 1999-2002 Brian Paul All Rights Reserved. * @@ -2514,7 +2514,7 @@ const char *XMesaGetString( XMesaContext c, int name ) { (void) c; if (name==XMESA_VERSION) { - return "3.5"; + return "4.0.3"; } else if (name==XMESA_EXTENSIONS) { return ""; |