mirror of
https://github.com/libretro/RetroArch
synced 2025-03-01 16:13:40 +00:00
Fix version detection for non-HW cores.
This commit is contained in:
parent
eb374e6b58
commit
4adf16b5ed
@ -449,7 +449,7 @@ static const gfx_ctx_driver_t *gl_core_get_context(gl_core_t *gl)
|
||||
}
|
||||
#else
|
||||
api = GFX_CTX_OPENGL_API;
|
||||
if (hwr)
|
||||
if (hwr && hwr->context_type != RETRO_HW_CONTEXT_NONE)
|
||||
{
|
||||
major = hwr->version_major;
|
||||
minor = hwr->version_minor;
|
||||
|
Loading…
x
Reference in New Issue
Block a user