mirror of
https://github.com/id-Software/DOOM-3-BFG.git
synced 2024-12-02 00:41:51 +00:00
Fixed warp effect not being centered when r_useVirtualScreenResolution was 0.
This commit is contained in:
parent
bb2e41b5d7
commit
c925f05f85
1 changed files with 2 additions and 2 deletions
|
@ -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 )
|
||||
|
|
Loading…
Reference in a new issue