- Fix playersprite offset being wrong in softpoly

- Remove DFrameBuffer::GetCanvas as it always returned null
This commit is contained in:
Magnus Norddahl 2018-04-08 15:49:06 +02:00
commit c4768441b4
7 changed files with 24 additions and 16 deletions

View file

@ -89,7 +89,7 @@ void PolyRenderer::RenderViewToCanvas(AActor *actor, DCanvas *canvas, int x, int
Threads.MainThread()->FlushDrawQueue();
DrawerThreads::WaitForWorkers();
RenderTarget = screen->GetCanvas();
RenderTarget = nullptr;
RenderToCanvas = false;
R_ExecuteSetViewSize(Viewpoint, Viewwindow);
float trueratio;