mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +00:00
Cleanup video_driver_set_rotation
This commit is contained in:
parent
91b03d914d
commit
6f0eef0c86
@ -288,12 +288,6 @@ static bool xenon360_gfx_set_shader(void *data,
|
||||
return false;
|
||||
}
|
||||
|
||||
static void xenon360_gfx_set_rotation(void *data, unsigned rotation)
|
||||
{
|
||||
(void)data;
|
||||
(void)rotation;
|
||||
}
|
||||
|
||||
static void xenon360_gfx_viewport_info(void *data, struct video_viewport *vp)
|
||||
{
|
||||
(void)data;
|
||||
|
@ -587,9 +587,7 @@ bool video_driver_set_rotation(unsigned rotation)
|
||||
{
|
||||
driver_t *driver = driver_get_ptr();
|
||||
|
||||
if (driver
|
||||
&& driver->video
|
||||
&& driver->video->set_rotation)
|
||||
if (driver && driver->video)
|
||||
{
|
||||
driver->video->set_rotation(driver->video_data, rotation);
|
||||
return true;
|
||||
|
Loading…
x
Reference in New Issue
Block a user