summaryrefslogtreecommitdiffstats
path: root/TOOLS/osxbundle/mpv.app
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2016-12-31 13:55:44 +0100
committerwm4 <wm4@nowhere>2016-12-31 14:58:46 +0100
commit0067d1dbef3d5b42f7ae86e52917d1b04a50fc2e (patch)
treef7991f146042f1f7330e5e8d55a595d532ccaeb0 /TOOLS/osxbundle/mpv.app
parent5ed4119057dc42842699a86b6610f4a3c50ab215 (diff)
downloadmpv-0067d1dbef3d5b42f7ae86e52917d1b04a50fc2e.tar.bz2
mpv-0067d1dbef3d5b42f7ae86e52917d1b04a50fc2e.tar.xz
vo_opengl: egl: handle potential eglChooseConfig failures
This is actually a pretty important fix. eglChooseConfig() might be the first thing that fails when porobing for desktop GL / ES2 / ES3 support, because EGL_RENDERABLE_TYPE is set values specific to the underlying APIs. Not sure how the hell this worked before. EGL 1.4 implementations certainly could fail the call with EGL_BAD_ATTRIBUTE if EGL_RENDERABLE_TYPE has EGL_OPENGL_ES3_BIT set. It's quite possible that many EGL implementations tolerate invalid EGLConfig values steming from uininitialized EGLConfig values (and eglCreateWindowSurface() even is specified to return EGL_BAD_CONFIG error code for "not valid" EGLConfigs).
Diffstat (limited to 'TOOLS/osxbundle/mpv.app')
0 files changed, 0 insertions, 0 deletions