Get rid of one unnecessary HAVE_MENU ifdef

This commit is contained in:
twinaphex 2014-09-09 23:20:04 +02:00
parent 4162311eb7
commit d848a0c5a6

View File

@ -169,12 +169,11 @@ static void take_screenshot(void)
if (viewport_read)
{
#ifdef HAVE_MENU
/* Avoid taking screenshot of GUI overlays. */
if (driver.video_poke && driver.video_poke->set_texture_enable)
driver.video_poke->set_texture_enable(driver.video_data,
false, false);
#endif
if (driver.video)
rarch_render_cached_frame();
}