libretro: don't set preferred GLES version when initializing context

Issue #405
This commit is contained in:
flyinghead 2021-11-22 15:28:18 +01:00
parent 628bef9094
commit 465499f6c3
1 changed files with 1 additions and 1 deletions

View File

@ -1472,8 +1472,8 @@ static bool set_opengl_hw_render(u32 preferred)
else
#endif
{
params.context_type = (retro_hw_context_type)preferred;
#ifndef HAVE_OPENGLES
params.context_type = (retro_hw_context_type)preferred;
params.major = 3;
params.minor = preferred == RETRO_HW_CONTEXT_OPENGL_CORE ? 2 : 0;
#endif