glx/dri2: use correct define from dri attribs.
Looks like idr renamed this and pushed the wrong one. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Matt Turner <mattst88@gmail.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:
parent
c62205adcd
commit
d1a00c26be
|
@ -540,7 +540,7 @@ create_driver_context(__GLXDRIcontext * context,
|
||||||
#ifdef __DRI2_ROBUSTNESS
|
#ifdef __DRI2_ROBUSTNESS
|
||||||
if (reset != __DRI_CTX_RESET_NO_NOTIFICATION) {
|
if (reset != __DRI_CTX_RESET_NO_NOTIFICATION) {
|
||||||
ctx_attribs[num_ctx_attribs++] =
|
ctx_attribs[num_ctx_attribs++] =
|
||||||
__DRI_CTX_ATTRIB_RESET_NOTIFICATION;
|
__DRI_CTX_ATTRIB_RESET_STRATEGY;
|
||||||
ctx_attribs[num_ctx_attribs++] = reset;
|
ctx_attribs[num_ctx_attribs++] = reset;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue
Block a user