summaryrefslogtreecommitdiffstats
path: root/Makefile.am
diff options
context:
space:
mode:
authorNicolas Boichat <[email protected]>2016-07-15 16:24:20 +0800
committerEmil Velikov <[email protected]>2016-07-20 15:10:33 +0100
commit9bebef4034c79d0f223a6e61943dd44bcb6442ee (patch)
treedce31ddc83e5b2dbff2473a510931e59d2e8f9c8 /Makefile.am
parentccda100a5a2838adec16ac10b2cc1c73e666e7d2 (diff)
egl/dri2: dri2_make_current: Set EGL error if bindContext fails
Without this, if a configuration is, say, available only on GLES2/3, but not on GLES1, and is rejected by the dri module's bindContext call, eglMakeCurrent fails with error "EGL_SUCCESS". In this patch, we set error to EGL_BAD_MATCH, which is what CTS/dEQP dEQP-EGL.functional.surfaceless_context expect. Cc: "11.2 12.0" <[email protected]> Signed-off-by: Nicolas Boichat <[email protected]> Reviewed-by: Emil Velikov <[email protected]>
Diffstat (limited to 'Makefile.am')
0 files changed, 0 insertions, 0 deletions