mirror of
https://github.com/libretro/RetroArch
synced 2025-03-06 13:13:57 +00:00
fix crash when using RETRO_ENVIRONMENT_SET_HW_SHARED_CONTEXT
This commit is contained in:
parent
96e6f99f14
commit
eed47273fb
@ -34089,7 +34089,7 @@ static const gfx_ctx_driver_t *video_context_driver_init(
|
||||
{
|
||||
struct rarch_state *p_rarch = &rarch_st;
|
||||
settings_t *settings = p_rarch->configuration_settings;
|
||||
bool video_shared_context = settings->bools.video_shared_context;
|
||||
bool video_shared_context = settings->bools.video_shared_context || libretro_get_shared_context();
|
||||
|
||||
if (!ctx->bind_api(data, api, major, minor))
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user