OpenGLRenderer: Fix GLES context creation

core profile bit has not meaning to OpenGL ES
This commit is contained in:
Lynix 2020-06-01 16:17:04 +02:00
parent 960a5c2d05
commit 8f04412a3f
1 changed files with 1 additions and 1 deletions

View File

@ -119,7 +119,7 @@ namespace Nz::GL
WGL_CONTEXT_MAJOR_VERSION_ARB, int(version.major),
WGL_CONTEXT_MINOR_VERSION_ARB, int(version.minor),
WGL_CONTEXT_PROFILE_MASK_ARB, WGL_CONTEXT_CORE_PROFILE_BIT_ARB | WGL_CONTEXT_ES_PROFILE_BIT_EXT
WGL_CONTEXT_PROFILE_MASK_ARB, WGL_CONTEXT_ES_PROFILE_BIT_EXT
};
m_handle = baseContext->wglCreateContextAttribsARB(m_deviceContext, nullptr, attributes.data());