Adjust meshbuilder to vkdoom changes and make sure the drawinfo functions always allocate vertices from the output renderstate object

This commit is contained in:
Magnus Norddahl 2023-04-26 04:22:07 +02:00
commit 87c3be94d5
23 changed files with 329 additions and 347 deletions

View file

@ -171,7 +171,7 @@ sector_t* RenderViewpoint(FRenderViewpoint& mainvp, AActor* camera, IntRect* bou
vp.Pos += eye.GetViewShift(vp.HWAngles.Yaw.Degrees());
di->SetupView(RenderState, vp.Pos.X, vp.Pos.Y, vp.Pos.Z, false, false);
di->ProcessScene(toscreen);
di->ProcessScene(toscreen, *screen->RenderState());
if (mainview)
{