mirror of
https://github.com/libretro/RetroArch
synced 2024-12-28 09:29:16 +00:00
(screenshot.c) Cleanup
This commit is contained in:
parent
f77f66450e
commit
aeb5a8e32f
@ -206,9 +206,11 @@ static bool take_screenshot_choice(void)
|
||||
video_driver_ctl(RARCH_DISPLAY_CTL_CACHED_FRAME_RENDER, NULL);
|
||||
return take_screenshot_viewport();
|
||||
}
|
||||
else if (!video_driver_ctl(RARCH_DISPLAY_CTL_CACHED_FRAME_HAS_VALID_FB, NULL))
|
||||
|
||||
if (!video_driver_ctl(RARCH_DISPLAY_CTL_CACHED_FRAME_HAS_VALID_FB, NULL))
|
||||
return take_screenshot_raw();
|
||||
else if (video_driver_ctl(RARCH_DISPLAY_CTL_SUPPORTS_READ_FRAME_RAW, NULL))
|
||||
|
||||
if (video_driver_ctl(RARCH_DISPLAY_CTL_SUPPORTS_READ_FRAME_RAW, NULL))
|
||||
{
|
||||
unsigned old_width, old_height;
|
||||
size_t old_pitch;
|
||||
|
Loading…
Reference in New Issue
Block a user