diff --git a/gfx/drivers_context/android_ctx.c b/gfx/drivers_context/android_ctx.c index 30f99ab6b5..b1c907a838 100644 --- a/gfx/drivers_context/android_ctx.c +++ b/gfx/drivers_context/android_ctx.c @@ -136,9 +136,6 @@ static void *android_gfx_ctx_init(video_frame_info_t *video_info, void *video_dr attribs[1] = EGL_OPENGL_ES3_BIT_KHR; #endif - and->egl.use_hw_ctx = video_info->shared_context - && video_info->hw_render_ctx; - switch (android_api) { case GFX_CTX_OPENGL_API: diff --git a/gfx/video_driver.c b/gfx/video_driver.c index 0a75c754be..2aa04cb16c 100644 --- a/gfx/video_driver.c +++ b/gfx/video_driver.c @@ -2465,7 +2465,6 @@ void video_driver_build_info(video_frame_info_t *video_info) video_driver_threaded_lock(is_threaded); #endif settings = config_get_ptr(); - video_info->hw_render_ctx = false; /* TODO/FIXME - might eventually do something here */ video_info->refresh_rate = settings->floats.video_refresh_rate; video_info->black_frame_insertion = settings->bools.video_black_frame_insertion; @@ -2727,8 +2726,6 @@ static const gfx_ctx_driver_t *video_context_driver_init( video_driver_build_info(&video_info); - video_info.hw_render_ctx = hw_render_ctx; - ctx_data = ctx->init(&video_info, data); if (!ctx_data) diff --git a/gfx/video_driver.h b/gfx/video_driver.h index 7946de4bf7..cb816346a5 100644 --- a/gfx/video_driver.h +++ b/gfx/video_driver.h @@ -427,7 +427,6 @@ typedef struct video_frame_info bool runloop_is_paused; bool is_perfcnt_enable; bool menu_is_alive; - bool hw_render_ctx; int custom_vp_x; int custom_vp_y;