diff options
Diffstat (limited to 'src/gallium/state_trackers/dri')
-rw-r--r-- | src/gallium/state_trackers/dri/dri2.c | 2 | ||||
-rw-r--r-- | src/gallium/state_trackers/dri/dri_context.c | 3 | ||||
-rw-r--r-- | src/gallium/state_trackers/dri/drisw.c | 1 |
3 files changed, 5 insertions, 1 deletions
diff --git a/src/gallium/state_trackers/dri/dri2.c b/src/gallium/state_trackers/dri/dri2.c index e20b2c07536..787949ec396 100644 --- a/src/gallium/state_trackers/dri/dri2.c +++ b/src/gallium/state_trackers/dri/dri2.c @@ -1995,6 +1995,7 @@ static const __DRIextension *dri_screen_extensions[] = { &dri2ThrottleExtension.base, &dri2FenceExtension.base, &dri2InteropExtension.base, + &dri2NoErrorExtension.base, NULL }; @@ -2008,6 +2009,7 @@ static const __DRIextension *dri_robust_screen_extensions[] = { &dri2FenceExtension.base, &dri2InteropExtension.base, &dri2Robustness.base, + &dri2NoErrorExtension.base, NULL }; diff --git a/src/gallium/state_trackers/dri/dri_context.c b/src/gallium/state_trackers/dri/dri_context.c index ec555e44d74..e25f186deb8 100644 --- a/src/gallium/state_trackers/dri/dri_context.c +++ b/src/gallium/state_trackers/dri/dri_context.c @@ -57,7 +57,8 @@ dri_create_context(gl_api api, const struct gl_config * visual, struct st_context_attribs attribs; enum st_context_error ctx_err = 0; unsigned allowed_flags = __DRI_CTX_FLAG_DEBUG | - __DRI_CTX_FLAG_FORWARD_COMPATIBLE; + __DRI_CTX_FLAG_FORWARD_COMPATIBLE | + __DRI_CTX_FLAG_NO_ERROR; const __DRIbackgroundCallableExtension *backgroundCallable = screen->sPriv->dri2.backgroundCallable; diff --git a/src/gallium/state_trackers/dri/drisw.c b/src/gallium/state_trackers/dri/drisw.c index 189d61c4cb6..ac4095618c0 100644 --- a/src/gallium/state_trackers/dri/drisw.c +++ b/src/gallium/state_trackers/dri/drisw.c @@ -371,6 +371,7 @@ static const __DRIextension *drisw_screen_extensions[] = { &dri2RendererQueryExtension.base, &dri2ConfigQueryExtension.base, &dri2FenceExtension.base, + &dri2NoErrorExtension.base, NULL }; |