summaryrefslogtreecommitdiff
path: root/src/egl/drivers/glx/egl_glx.c
diff options
context:
space:
mode:
authorChia-I Wu <olvaffe@gmail.com>2010-01-31 14:32:31 +0800
committerChia-I Wu <olvaffe@gmail.com>2010-01-31 14:46:14 +0800
commit216925ccd122a06505dafae425323e3ac858f80e (patch)
tree4df3b9eeabb483dd6696df496c56647a9cedc62d /src/egl/drivers/glx/egl_glx.c
parentd69242be55091e53b0ae2cfa6282790ce1862f29 (diff)
egl: Initialize display configs with the display.
This changes _eglInitConfig to take the display as its argument.
Diffstat (limited to 'src/egl/drivers/glx/egl_glx.c')
-rw-r--r--src/egl/drivers/glx/egl_glx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/egl/drivers/glx/egl_glx.c b/src/egl/drivers/glx/egl_glx.c
index 82d256c52d7..8e6b5b07a2f 100644
--- a/src/egl/drivers/glx/egl_glx.c
+++ b/src/egl/drivers/glx/egl_glx.c
@@ -422,7 +422,7 @@ create_configs(_EGLDisplay *dpy, struct GLX_egl_display *GLX_dpy,
EGLBoolean ok;
memset(&template, 0, sizeof(template));
- _eglInitConfig(&template.Base, id);
+ _eglInitConfig(&template.Base, dpy, id);
if (GLX_dpy->have_fbconfig)
ok = convert_fbconfig(GLX_dpy->dpy, GLX_dpy->fbconfigs[i], &template);
else