From 8f04412a3ffaf81f56e80fbb5c3d9b117e766925 Mon Sep 17 00:00:00 2001 From: Lynix Date: Mon, 1 Jun 2020 16:17:04 +0200 Subject: [PATCH] OpenGLRenderer: Fix GLES context creation core profile bit has not meaning to OpenGL ES --- src/Nazara/OpenGLRenderer/Wrapper/Win32/WGLContext.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Nazara/OpenGLRenderer/Wrapper/Win32/WGLContext.cpp b/src/Nazara/OpenGLRenderer/Wrapper/Win32/WGLContext.cpp index c5faa2bfa..e07a21294 100644 --- a/src/Nazara/OpenGLRenderer/Wrapper/Win32/WGLContext.cpp +++ b/src/Nazara/OpenGLRenderer/Wrapper/Win32/WGLContext.cpp @@ -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());