Merge remote-tracking branch 'origin/master' into polybackend

This commit is contained in:
Magnus Norddahl 2019-12-06 00:20:25 +01:00
commit 8075510289

View file

@ -139,6 +139,9 @@ namespace swrenderer
int texwidth = tex->GetPhysicalWidth(); int texwidth = tex->GetPhysicalWidth();
int texheight = tex->GetPhysicalHeight(); int texheight = tex->GetPhysicalHeight();
dc_viewport = thread->Viewport.get();
dc_textureheight = texheight;
vstepY *= texheight; vstepY *= texheight;
for (int x = sx0; x < sx1; x++) for (int x = sx0; x < sx1; x++)