mirror of
https://github.com/libretro/RetroArch
synced 2025-01-26 18:35:22 +00:00
get messages working again on android
This commit is contained in:
parent
ab95085cde
commit
809ae0ab06
@ -569,8 +569,8 @@ static void render_text(rgui_handle_t *rgui)
|
||||
blit_line(rgui, x, y, message, i == rgui->directory_ptr);
|
||||
}
|
||||
|
||||
const char *message_queue;
|
||||
#ifdef GEKKO
|
||||
const char *message_queue;
|
||||
gx_video_t *gx = (gx_video_t*)driver.video_data;
|
||||
if (rgui->msg_force)
|
||||
{
|
||||
@ -581,10 +581,8 @@ static void render_text(rgui_handle_t *rgui)
|
||||
{
|
||||
message_queue = gx->msg;
|
||||
}
|
||||
#else
|
||||
message_queue = msg_queue_pull(g_extern.msg_queue);
|
||||
#endif
|
||||
render_messagebox(rgui, message_queue);
|
||||
#endif
|
||||
}
|
||||
|
||||
#ifdef GEKKO
|
||||
|
2
gfx/gl.c
2
gfx/gl.c
@ -1824,7 +1824,7 @@ static void *gl_init(const video_info_t *video, const input_driver_t **input, vo
|
||||
if (input && input_data)
|
||||
context_input_driver_func(input, input_data);
|
||||
|
||||
#ifndef HAVE_RMENU
|
||||
#if !defined(HAVE_RMENU) || !defined(RARCH_CONSOLE)
|
||||
// Comes too early for console - moved to gl_start
|
||||
if (g_settings.video.font_enable)
|
||||
gl->font_ctx = gl_font_init_first(gl, g_settings.video.font_path, g_settings.video.font_size);
|
||||
|
Loading…
x
Reference in New Issue
Block a user