mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-01-01 23:58:26 +00:00
Cleanups
This commit is contained in:
parent
5c0f4f4ac8
commit
f59e334ceb
@ -1571,7 +1571,9 @@ bool video_driver_ctl(enum rarch_display_ctl_state state, void *data)
|
||||
#if defined(RARCH_CONSOLE) || defined(RARCH_MOBILE)
|
||||
return false;
|
||||
#else
|
||||
return current_video->has_windowed(video_driver_data);
|
||||
if (!current_video->has_windowed(video_driver_data))
|
||||
return false;
|
||||
break;
|
||||
#endif
|
||||
case RARCH_DISPLAY_CTL_GET_FRAME_COUNT:
|
||||
{
|
||||
@ -1730,8 +1732,10 @@ bool video_driver_ctl(enum rarch_display_ctl_state state, void *data)
|
||||
!video_driver_poke ||
|
||||
!video_driver_poke->get_current_software_framebuffer)
|
||||
return false;
|
||||
return video_driver_poke->get_current_software_framebuffer(
|
||||
video_driver_data, (struct retro_framebuffer *)data);
|
||||
if (!video_driver_poke->get_current_software_framebuffer(
|
||||
video_driver_data, (struct retro_framebuffer *)data))
|
||||
return false;
|
||||
break;
|
||||
case RARCH_DISPLAY_CTL_GET_HW_RENDER_INTERFACE:
|
||||
if (
|
||||
!video_driver_poke ||
|
||||
|
Loading…
Reference in New Issue
Block a user