diff options
author | Chad Versace <[email protected]> | 2016-04-11 15:12:15 -0700 |
---|---|---|
committer | Chad Versace <[email protected]> | 2016-04-14 17:38:41 -0700 |
commit | 7a835b3fd9b171eedecfdb23d326eae4bc0cb6d4 (patch) | |
tree | 8d20bc8bbd21939c40c247e07c2d88c9c44abcec /src/compiler/shader_enums.c | |
parent | 8f4340c5e63d5bb2dd69a09d044832390ea47e14 (diff) |
dri: Fix robust context creation via EGL attribute
driCreateContextAttribs() emits an error if bit
__DRI_CTX_FLAG_ROBUST_BUFFER_ACCESS is set for an ES context. But,
EGL_EXT_create_context_robustness and EGL 1.5 both allow creation of
robust ES contexts. One requests a robust ES context by setting the
EGL_CONTEXT_OPENGL_ROBUST_ACCESS *attribute*, which Mesa's EGL layer
translates into the __DRI_CTX_FLAG_ROBUST_BUFFER_ACCESS *bit*.
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/compiler/shader_enums.c')
0 files changed, 0 insertions, 0 deletions