From 58911b86a15676f116c693e84ea6b9ebabb906ed Mon Sep 17 00:00:00 2001 From: Chia-I Wu Date: Fri, 5 Aug 2011 14:36:14 +0900 Subject: egl_dri2: allow RGBA masks to be specified for matching Add rgba_masks to dri2_add_config. When it is non-NULL, the DRI config is accepted only when the offsets and sizes of the its channels match rgba_mask. Reviewed-by: Chad Versace --- src/egl/drivers/dri2/platform_drm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/egl/drivers/dri2/platform_drm.c') diff --git a/src/egl/drivers/dri2/platform_drm.c b/src/egl/drivers/dri2/platform_drm.c index 04b10e279ec..e2c8dab16bc 100644 --- a/src/egl/drivers/dri2/platform_drm.c +++ b/src/egl/drivers/dri2/platform_drm.c @@ -150,7 +150,7 @@ dri2_initialize_drm(_EGLDriver *drv, _EGLDisplay *disp) for (i = 0; dri2_dpy->driver_configs[i]; i++) dri2_add_config(disp, dri2_dpy->driver_configs[i], - i + 1, 0, 0, NULL); + i + 1, 0, 0, NULL, NULL); drv->API.CreateImageKHR = dri2_drm_create_image_khr; -- cgit v1.2.3