From c925f05f8571e3df5046f426469e64938ad3cd17 Mon Sep 17 00:00:00 2001 From: Jonathan Young Date: Sun, 22 Sep 2013 13:50:49 +1000 Subject: [PATCH] Fixed warp effect not being centered when r_useVirtualScreenResolution was 0. --- neo/d3xp/PlayerView.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/neo/d3xp/PlayerView.cpp b/neo/d3xp/PlayerView.cpp index fbb26f61..ffbe7623 100644 --- a/neo/d3xp/PlayerView.cpp +++ b/neo/d3xp/PlayerView.cpp @@ -1357,8 +1357,8 @@ void FullscreenFX_Warp::HighQuality() interp = 0.7 * ( 1 - interp ) + 0.3 * ( interp ); // draw the warps - center.x = 320; - center.y = 240; + center.x = renderSystem->GetVirtualWidth() / 2.0f; + center.y = renderSystem->GetVirtualHeight() / 2.0f; radius = 200; for( float i = 0; i < 360; i += STEP )