mirror of
https://github.com/libretro/RetroArch
synced 2025-02-06 09:40:06 +00:00
Revert "Try to set use_hw_ctx in advance for Android"
This reverts commit c010c5b2586a05bcc60ca941250073b8ce95ce39.
This commit is contained in:
parent
c010c5b258
commit
4850af8eac
@ -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:
|
||||
|
@ -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)
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user