Cleanup video_driver_set_rotation

This commit is contained in:
twinaphex 2015-03-24 08:48:03 +01:00
parent 91b03d914d
commit 6f0eef0c86
2 changed files with 1 additions and 9 deletions

View File

@ -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;

View File

@ -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;