Fix context sharing

This commit is contained in:
Jérôme Leclercq 2020-09-01 20:01:36 +02:00
parent c4e63a582c
commit f4186fdeac
1 changed files with 1 additions and 1 deletions

View File

@ -113,7 +113,7 @@ namespace Nz::GL
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");
return {};