- fixed code that deternines when to upscale a texture.

This was very much non-functional.
This commit is contained in:
Christoph Oelckers 2020-06-10 00:21:19 +02:00
commit 60a20af8ff
5 changed files with 14 additions and 21 deletions

View file

@ -241,6 +241,7 @@ void FSoftwareRenderer::RenderTextureView (FCanvasTexture *camtex, AActor *viewp
cameraViewwindow = r_viewwindow;
auto tex = GetSWCamTex(camtex);
if (!tex) return;
DCanvas *Canvas = renderTarget->IsBgra() ? tex->GetCanvasBgra() : tex->GetCanvas();