Add driver.menu-ctx->frame triggering inside gl_frame function -
Lakka GL iteration should be invoked here instead of the ifdef. Currently delta animation goes way too slow if 'frame' function of lakka driver is hooked up properly - hence the #LAKKA hack is still in place.
This commit is contained in:
parent
b67a55518c
commit
0d2752a276
3
gfx/gl.c
3
gfx/gl.c
|
@ -1514,6 +1514,9 @@ static bool gl_frame(void *data, const void *frame, unsigned width, unsigned hei
|
|||
gl_set_prev_texture(gl, &tex_info);
|
||||
|
||||
#if defined(HAVE_MENU)
|
||||
if (g_extern.lifecycle_state & (1ULL << MODE_MENU) && driver.menu_ctx && driver.menu_ctx->frame)
|
||||
driver.menu_ctx->frame(gl);
|
||||
|
||||
if (gl->rgui_texture_enable)
|
||||
#if defined(HAVE_LAKKA)
|
||||
lakka_render(gl);
|
||||
|
|
Loading…
Reference in New Issue