mirror of
https://github.com/libretro/RetroArch
synced 2025-04-10 15:45:19 +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;
|
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)
|
static void xenon360_gfx_viewport_info(void *data, struct video_viewport *vp)
|
||||||
{
|
{
|
||||||
(void)data;
|
(void)data;
|
||||||
|
@ -587,9 +587,7 @@ bool video_driver_set_rotation(unsigned rotation)
|
|||||||
{
|
{
|
||||||
driver_t *driver = driver_get_ptr();
|
driver_t *driver = driver_get_ptr();
|
||||||
|
|
||||||
if (driver
|
if (driver && driver->video)
|
||||||
&& driver->video
|
|
||||||
&& driver->video->set_rotation)
|
|
||||||
{
|
{
|
||||||
driver->video->set_rotation(driver->video_data, rotation);
|
driver->video->set_rotation(driver->video_data, rotation);
|
||||||
return true;
|
return true;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user