From: Ian Romanick Date: Tue, 11 Sep 2012 08:08:44 +0000 (+0300) Subject: i965: Enable DRI_Robustness extension X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1f712bdd38294075f294a172174a57f080b17b1f;p=mesa.git i965: Enable DRI_Robustness extension Signed-off-by: Ian Romanick Reviewed-by: Kenneth Graunke --- 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 };