OpenGLContext: Prefer GLES over GL<3.2

Ends up having a larger feature set in GLSL.
This commit is contained in:
Stenzek 2025-07-09 21:46:43 +10:00
parent 63adf475d4
commit cc3bc120a4
No known key found for this signature in database

View File

@ -133,11 +133,11 @@ std::unique_ptr<OpenGLContext> OpenGLContext::Create(WindowInfo& wi, SurfaceHand
{Profile::Core, 4, 0},
{Profile::Core, 3, 3},
{Profile::Core, 3, 2},
{Profile::Core, 3, 1},
{Profile::Core, 3, 0},
{Profile::ES, 3, 2},
{Profile::ES, 3, 1},
{Profile::ES, 3, 0}}};
{Profile::ES, 3, 0},
{Profile::Core, 3, 1},
{Profile::Core, 3, 0}}};
std::span<const Version> versions_to_try = vlist;
if (ShouldPreferESContext())