Replace EGL symbol loader

This commit is contained in:
Jérôme Leclercq
2020-09-03 16:33:37 +02:00
parent addcd52552
commit 0255541b44
5 changed files with 86 additions and 58 deletions

View File

@@ -321,7 +321,7 @@ namespace Nz::GL
bool EGLContextBase::LoadEGLExt()
{
if (!Activate())
if (!SetCurrentContext(this))
return false;
const char* extensionString = m_loader.eglQueryString(m_display, EGL_EXTENSIONS);