libretro: don't set preferred GLES version when initializing context
Issue #405
This commit is contained in:
parent
628bef9094
commit
465499f6c3
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue