make state screenshots non-gpu

This commit is contained in:
radius 2016-12-11 12:30:20 -05:00
parent d8acba1fa8
commit e0989d0b9e

View File

@ -325,6 +325,9 @@ static bool take_screenshot_choice(const char *name_base, bool savestate)
&& string_is_empty(name_base))
return false;
if (savestate)
return take_screenshot_raw(name_base, NULL, savestate);
if (video_driver_supports_viewport_read())
{
/* Avoid taking screenshot of GUI overlays. */