mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 04:38:03 +02:00
minor multi-sample clean-ups
This commit is contained in:
parent
25af66a67f
commit
66ab727101
1 changed files with 14 additions and 4 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue