Check explicitly for video_poke interface.

This commit is contained in:
Themaister 2013-03-16 10:47:01 +01:00
parent 12cc1c43d4
commit aa1275a22d

View File

@ -1722,12 +1722,12 @@ bool menu_iterate(void)
input_entry_ret = rgui_iterate(rgui, action);
// draw last frame for loading messages
if (driver.video_poke->set_rgui_texture)
if (driver.video_poke && driver.video_poke->set_rgui_texture)
driver.video_poke->set_rgui_texture(driver.video_data, menu_framebuf);
rarch_render_cached_frame();
if (driver.video_poke->set_rgui_texture)
if (driver.video_poke && driver.video_poke->set_rgui_texture)
driver.video_poke->set_rgui_texture(driver.video_data, NULL);
input_process_ret = menu_input_process(NULL, NULL);