Fixed warp effect not being centered when r_useVirtualScreenResolution was 0.

This commit is contained in:
Jonathan Young 2013-09-22 13:50:49 +10:00
parent bb2e41b5d7
commit c925f05f85

View file

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