From 1f712bdd38294075f294a172174a57f080b17b1f Mon Sep 17 00:00:00 2001 From: Ian Romanick Date: Tue, 11 Sep 2012 11:08:44 +0300 Subject: [PATCH] i965: Enable DRI_Robustness extension Signed-off-by: Ian Romanick Reviewed-by: Kenneth Graunke --- src/mesa/drivers/dri/i965/intel_screen.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/mesa/drivers/dri/i965/intel_screen.c b/src/mesa/drivers/dri/i965/intel_screen.c index ce8124bf5ef..5ba9fe0389b 100644 --- a/src/mesa/drivers/dri/i965/intel_screen.c +++ b/src/mesa/drivers/dri/i965/intel_screen.c @@ -857,11 +857,16 @@ static struct __DRIimageExtensionRec intelImageExtension = { .createImageFromDmaBufs = intel_create_image_from_dma_bufs }; +static const struct __DRIrobustnessExtensionRec dri2Robustness = { + { __DRI2_ROBUSTNESS, 1 } +}; + static const __DRIextension *intelScreenExtensions[] = { &intelTexBufferExtension.base, &intelFlushExtension.base, &intelImageExtension.base, &dri2ConfigQueryExtension.base, + &dri2Robustness.base, NULL }; -- 2.30.2