mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-01-19 01:12:33 +00:00
Get rid of one unnecessary HAVE_MENU ifdef
This commit is contained in:
parent
4162311eb7
commit
d848a0c5a6
@ -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();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user