diff --git a/gfx/drivers/gl.c b/gfx/drivers/gl.c index f8b696b6e9..71d318d64b 100644 --- a/gfx/drivers/gl.c +++ b/gfx/drivers/gl.c @@ -2840,7 +2840,7 @@ static bool gl2_frame(void *data, const void *frame, #ifdef IOS /* Apparently the viewport is lost each frame, thanks Apple. */ - gl2_set_viewport(gl, video_info, width, height, false, true); + gl2_set_viewport(gl, width, height, false, true); #endif /* Render to texture in first pass. */