Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master' into polybackend
Browse files Browse the repository at this point in the history
  • Loading branch information
dpjudas committed Dec 5, 2019
2 parents c646478 + a7a899c commit 8075510
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/rendering/swrenderer/viewport/r_spritedrawer.cpp
Expand Up @@ -139,6 +139,9 @@ namespace swrenderer
int texwidth = tex->GetPhysicalWidth();
int texheight = tex->GetPhysicalHeight();

dc_viewport = thread->Viewport.get();
dc_textureheight = texheight;

vstepY *= texheight;

for (int x = sx0; x < sx1; x++)
Expand Down

0 comments on commit 8075510

Please sign in to comment.