summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/x11/fakeglx.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2000-04-10 21:13:19 +0000
committerBrian Paul <[email protected]>2000-04-10 21:13:19 +0000
commit5605798e56ca6e9f968623f33b58ee7ca90594af (patch)
tree17de625f4ccef463dc22e33e0b3d88ab2f22247d /src/mesa/drivers/x11/fakeglx.c
parenta28a4f782087b3a6dcd4ea557e879396ba37f7f6 (diff)
added glXGetFBConfigs(), fixed glXChooseFBConfig()
Diffstat (limited to 'src/mesa/drivers/x11/fakeglx.c')
-rw-r--r--src/mesa/drivers/x11/fakeglx.c14
1 files changed, 12 insertions, 2 deletions
diff --git a/src/mesa/drivers/x11/fakeglx.c b/src/mesa/drivers/x11/fakeglx.c
index 08a931a1827..a402521e314 100644
--- a/src/mesa/drivers/x11/fakeglx.c
+++ b/src/mesa/drivers/x11/fakeglx.c
@@ -1,4 +1,4 @@
-/* $Id: fakeglx.c,v 1.31 2000/04/05 22:09:58 brianp Exp $ */
+/* $Id: fakeglx.c,v 1.32 2000/04/10 21:13:19 brianp Exp $ */
/*
* Mesa 3-D graphics library
@@ -1629,7 +1629,7 @@ Fake_glXGetClientString( Display *dpy, int name )
* GLX 1.3 and later
*/
-static GLXFBConfig
+static GLXFBConfig *
Fake_glXChooseFBConfig( Display *dpy, int screen,
const int *attribList, int *nitems )
{
@@ -1653,6 +1653,16 @@ Fake_glXGetFBConfigAttrib( Display *dpy, GLXFBConfig config,
}
+static GLXFBConfig *
+Fake_glXGetFBConfigs( Display *dpy, int screen, int *nelements )
+{
+ (void) dpy;
+ (void) screen;
+ (void) nelements;
+ return 0;
+}
+
+
static XVisualInfo *
Fake_glXGetVisualFromFBConfig( Display *dpy, GLXFBConfig config )
{