summaryrefslogtreecommitdiff
path: root/src/glx
diff options
context:
space:
mode:
authorKristian Høgsberg <krh@hinata.boston.redhat.com>2007-05-14 17:07:16 -0400
committerKristian Høgsberg <krh@redhat.com>2007-10-10 18:46:51 -0400
commit295dc2d225ccac1951c0fcc2c08119f31d1b575c (patch)
treea005f34b8e42b4a2f43b65dd7c8d8143b36b9856 /src/glx
parent64106d0d9aeefa6974317042b6bc3e5eaabac5a2 (diff)
Stop passing in unused fbconfigs to createNewScreen.
Diffstat (limited to 'src/glx')
-rw-r--r--src/glx/x11/glxext.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/glx/x11/glxext.c b/src/glx/x11/glxext.c
index 8c12ae254a..ee8e238bec 100644
--- a/src/glx/x11/glxext.c
+++ b/src/glx/x11/glxext.c
@@ -957,7 +957,6 @@ CallCreateNewScreen(Display *dpy, int scrn, __GLXscreenConfigs *psc,
err_extra = NULL;
psp = (*createNewScreen)(scrn,
&psc->driScreen,
- psc->configs,
& ddx_version,
& dri_version,
& drm_version,
@@ -968,8 +967,7 @@ CallCreateNewScreen(Display *dpy, int scrn, __GLXscreenConfigs *psc,
& interface_methods,
& driver_modes );
- filter_modes( & psc->configs,
- driver_modes );
+ filter_modes(&psc->configs, driver_modes);
_gl_context_modes_destroy( driver_modes );
}
}