mirror of
https://github.com/libretro/RetroArch
synced 2025-04-10 15:45:19 +00:00
(GX2) video_driver_get_size was used for no reason here
This commit is contained in:
parent
d43b26348b
commit
dc3711b35f
@ -91,7 +91,6 @@ static void wiiu_set_projection(wiiu_video_t *wiiu)
|
||||
|
||||
static void wiiu_gfx_update_viewport(wiiu_video_t *wiiu)
|
||||
{
|
||||
unsigned width, height;
|
||||
int x = 0;
|
||||
int y = 0;
|
||||
unsigned viewport_width = wiiu->color_buffer.surface.width;
|
||||
@ -99,8 +98,6 @@ static void wiiu_gfx_update_viewport(wiiu_video_t *wiiu)
|
||||
float device_aspect = (float)viewport_width / viewport_height;
|
||||
settings_t *settings = config_get_ptr();
|
||||
|
||||
video_driver_get_size(&width, &height);
|
||||
|
||||
if (settings->bools.video_scale_integer)
|
||||
{
|
||||
video_viewport_get_scaled_integer(&wiiu->vp,
|
||||
|
Loading…
x
Reference in New Issue
Block a user