Fix context sharing

This commit is contained in:
Jérôme Leclercq
2020-09-01 20:01:36 +02:00
parent c4e63a582c
commit f4186fdeac

View File

@@ -113,7 +113,7 @@ namespace Nz::GL
return {}; return {};
} }
if (!context->Create(params, handle, /*static_cast<EGLContextBase*>(shareContext)*/nullptr)) if (!context->Create(params, handle, static_cast<EGLContextBase*>(shareContext)))
{ {
NazaraError("failed to create context"); NazaraError("failed to create context");
return {}; return {};