From: Brian Paul Date: Tue, 5 Nov 2002 21:11:18 +0000 (+0000) Subject: minor multi-sample clean-ups X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=66ab7271016615cf485fb0b71832833d2e0f99a7;p=mesa.git minor multi-sample clean-ups --- diff --git a/src/mesa/drivers/x11/fakeglx.c b/src/mesa/drivers/x11/fakeglx.c index 489ba77c6bb..92a3c35c9e1 100644 --- a/src/mesa/drivers/x11/fakeglx.c +++ b/src/mesa/drivers/x11/fakeglx.c @@ -1,4 +1,4 @@ -/* $Id: fakeglx.c,v 1.73 2002/10/30 20:24:45 brianp Exp $ */ +/* $Id: fakeglx.c,v 1.74 2002/11/05 21:11:18 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -1048,6 +1048,16 @@ static XMesaVisual choose_visual( Display *dpy, int screen, const int *list ) caveat = *parselist++; /* ignored for now */ break; + /* + * GLX_ARB_multisample + */ + case GLX_SAMPLE_BUFFERS_ARB: + /* ms not supported */ + return NULL; + case GLX_SAMPLES_ARB: + /* ms not supported */ + return NULL; + /* * FBConfig attribs. */ @@ -1622,12 +1632,12 @@ get_config( XMesaVisual xmvis, int attrib, int *value, GLboolean fbconfig ) return 0; /* - * GLX_EXT_multisample + * GLX_ARB_multisample */ - case GLX_SAMPLE_BUFFERS_SGIS: + case GLX_SAMPLE_BUFFERS_ARB: *value = 0; return 0; - case GLX_SAMPLES_SGIS: + case GLX_SAMPLES_ARB: *value = 0; return 0;