]> git.sesse.net Git - movit/commit
Make get_current_context_identifier() understand EGL.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Mon, 5 Oct 2015 23:24:26 +0000 (01:24 +0200)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Mon, 5 Oct 2015 23:24:26 +0000 (01:24 +0200)
commit67a7863f5f060d4396b27a39ea8b495498197e45
treedfbfdfbf18dae6501b45c75f75cd00ec831bd451
parent236a0ad8b604d5b3bff53f40b600991168f76800
Make get_current_context_identifier() understand EGL.

If we're using EGL and not GLX (typically because we're using GLES,
but also increasingly with desktop GL), we'd always return NULL.
This could FBOs to be confused between contexts.
util.cpp