Fix linux compilation

This commit is contained in:
Jérôme Leclercq
2021-05-29 00:34:09 +02:00
parent 109b2a156e
commit 41baacd9ab
2 changed files with 5 additions and 1 deletions

View File

@@ -10,6 +10,8 @@ namespace Nz::GL
{
bool EGLContextX11::Create(const ContextParams& params, WindowHandle window, const EGLContextBase* shareContext)
{
//TODO: Load X11 dynamically
assert(window.type == WindowManager::X11);
Destroy(); //< In case a previous display or surface hasn't been released