summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIan Romanick <ian.d.romanick@intel.com>2012-09-11 11:08:44 +0300
committerIan Romanick <ian.d.romanick@intel.com>2013-11-07 17:40:25 -0800
commit1f712bdd38294075f294a172174a57f080b17b1f (patch)
tree56c35771a3f5151d04e17c557ecc571ee28e6687
parente8dac9632d35b5902b6565e64b22846ba6198b5b (diff)
i965: Enable DRI_Robustness extension
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
-rw-r--r--src/mesa/drivers/dri/i965/intel_screen.c5
1 files changed, 5 insertions, 0 deletions
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
};