Fix a couple things

This commit is contained in:
offtkp 2024-08-09 01:41:18 +03:00
parent 2849cc3798
commit 9a852475c5
2 changed files with 9 additions and 8 deletions

View file

@ -20,6 +20,7 @@ std::unique_ptr<Context> ContextEGLX11::CreateSharedContext(const WindowInfo& wi
{
std::unique_ptr<ContextEGLX11> context = std::make_unique<ContextEGLX11>(wi);
context->m_display = m_display;
context->m_supports_surfaceless = m_supports_surfaceless;
if (!context->CreateContextAndSurface(m_version, m_context, false))
return nullptr;