Fix EGL context sharing
It seems contexts must be part of the same display to be shared, and that using default display with window isn't an issue on Windows/X11
This commit is contained in:
@@ -12,7 +12,8 @@ namespace Nz::GL
|
||||
m_loader(loader),
|
||||
m_display(EGL_NO_DISPLAY),
|
||||
m_surface(EGL_NO_SURFACE),
|
||||
m_handle(EGL_NO_CONTEXT)
|
||||
m_handle(EGL_NO_CONTEXT),
|
||||
m_ownsDisplay(false)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user