summaryrefslogtreecommitdiffstats
path: root/src/egl/drivers/dri2/platform_drm.c
diff options
context:
space:
mode:
authorBenjamin Franzke <[email protected]>2011-02-09 15:30:20 +0100
committerKristian Høgsberg <[email protected]>2011-02-10 23:07:01 -0500
commit87dde5b1cd596c4008695ff2db9469f88c09f925 (patch)
treeb736f36e0181ed25ee77fa02dc120674de750603 /src/egl/drivers/dri2/platform_drm.c
parent71fa2270293f7e3aa8e42b397bebb24d3fcd9b1f (diff)
egl_dri2: Use double buffering for window surfaces
Diffstat (limited to 'src/egl/drivers/dri2/platform_drm.c')
-rw-r--r--src/egl/drivers/dri2/platform_drm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/egl/drivers/dri2/platform_drm.c b/src/egl/drivers/dri2/platform_drm.c
index 431bfa0fcc6..42939a57a2a 100644
--- a/src/egl/drivers/dri2/platform_drm.c
+++ b/src/egl/drivers/dri2/platform_drm.c
@@ -649,7 +649,7 @@ dri2_initialize_drm(_EGLDriver *drv, _EGLDisplay *disp)
goto cleanup_driver;
for (i = 0; dri2_dpy->driver_configs[i]; i++)
- dri2_add_config(disp, dri2_dpy->driver_configs[i], i + 1, 0, 0);
+ dri2_add_config(disp, dri2_dpy->driver_configs[i], i + 1, 0, 0, NULL);
disp->Extensions.MESA_drm_image = EGL_TRUE;
disp->Extensions.KHR_image_base = EGL_TRUE;