mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-04 20:38:06 +02:00
C++ fix
This commit is contained in:
parent
7322cccfb9
commit
4c5f8a8207
1 changed files with 5 additions and 1 deletions
|
|
@ -1,4 +1,4 @@
|
|||
/* $Id: fakeglx.c,v 1.62 2002/04/02 23:52:53 brianp Exp $ */
|
||||
/* $Id: fakeglx.c,v 1.63 2002/04/19 00:47:07 brianp Exp $ */
|
||||
|
||||
/*
|
||||
* Mesa 3-D graphics library
|
||||
|
|
@ -1795,7 +1795,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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue