summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers/egl/common
diff options
context:
space:
mode:
authorChia-I Wu <[email protected]>2010-01-31 14:32:31 +0800
committerChia-I Wu <[email protected]>2010-01-31 14:46:14 +0800
commit216925ccd122a06505dafae425323e3ac858f80e (patch)
tree4df3b9eeabb483dd6696df496c56647a9cedc62d /src/gallium/state_trackers/egl/common
parentd69242be55091e53b0ae2cfa6282790ce1862f29 (diff)
egl: Initialize display configs with the display.
This changes _eglInitConfig to take the display as its argument.
Diffstat (limited to 'src/gallium/state_trackers/egl/common')
-rw-r--r--src/gallium/state_trackers/egl/common/egl_g3d.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/state_trackers/egl/common/egl_g3d.c b/src/gallium/state_trackers/egl/common/egl_g3d.c
index 3fd775abe5a..8a73e81d4ac 100644
--- a/src/gallium/state_trackers/egl/common/egl_g3d.c
+++ b/src/gallium/state_trackers/egl/common/egl_g3d.c
@@ -468,7 +468,7 @@ egl_g3d_add_configs(_EGLDriver *drv, _EGLDisplay *dpy, EGLint id)
if (!gconf)
continue;
- _eglInitConfig(&gconf->base, id);
+ _eglInitConfig(&gconf->base, dpy, id);
api_mask = get_mode_api_mask(&native_configs[i]->mode, gdrv->api_mask);
if (!api_mask) {