- made a few changes to the timer calls for renderer profiling.

A few items were counted double, other were in the wrong slot.
This commit is contained in:
Christoph Oelckers 2022-01-14 00:15:33 +01:00
parent 18ddcbb1c5
commit 37e7f92182
3 changed files with 8 additions and 2 deletions

View file

@ -164,7 +164,9 @@ void RenderViewpoint(FRenderViewpoint& mainvp, IntRect* bounds, float fov, float
screen->PostProcessScene(false, CM_DEFAULT, flash, []() {
hw_int_useindexedcolortextures = false;
PostProcess.Unclock();
Draw2D(&twodpsp, *screen->RenderState()); // draws the weapon sprites
PostProcess.Clock();
});
PostProcess.Unclock();
}