From 7b4b4f8e68ba7a6109cc508de10314e966e56f5f Mon Sep 17 00:00:00 2001 From: Ian Romanick Date: Thu, 19 Jul 2012 16:04:01 -0700 Subject: egl_dri2: Add support for EGL_KHR_create_context and EGL_EXT_create_context_robustness Just like in GLX, EGL_KHR_create_context requires DRI2 version >= 3, and EGL_EXT_create_context_robustness requires both DRI2 version >= 3 and the __DRI2_ROBUSTNESS extension. Signed-off-by: Ian Romanick Reviewed-by: Kenneth Graunke --- src/egl/drivers/dri2/egl_dri2.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/egl/drivers/dri2/egl_dri2.h') diff --git a/src/egl/drivers/dri2/egl_dri2.h b/src/egl/drivers/dri2/egl_dri2.h index c30e2305d83..81c1354b794 100644 --- a/src/egl/drivers/dri2/egl_dri2.h +++ b/src/egl/drivers/dri2/egl_dri2.h @@ -99,6 +99,7 @@ struct dri2_egl_display __DRI2flushExtension *flush; __DRItexBufferExtension *tex_buffer; __DRIimageExtension *image; + __DRIrobustnessExtension *robustness; int fd; int own_device; -- cgit v1.2.3