From 1d9b8d357b00fbd6633a232b566f3ac439d211b5 Mon Sep 17 00:00:00 2001 From: mazmazz Date: Thu, 27 Dec 2018 23:05:06 -0500 Subject: [PATCH] Add framecount increment to HWR_RenderPlayerView Analogue to R_RenderPlayerView; used for timedemo FPS reading --- src/hardware/hw_main.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/hardware/hw_main.c b/src/hardware/hw_main.c index efecac524..9bfe7afb4 100644 --- a/src/hardware/hw_main.c +++ b/src/hardware/hw_main.c @@ -6032,6 +6032,7 @@ void HWR_RenderPlayerView(INT32 viewnumber, player_t *player) // note: sets viewangle, viewx, viewy, viewz R_SetupFrame(player, false); // This can stay false because it is only used to set viewsky in r_main.c, which isn't used here + framecount++; // timedemo // copy view cam position for local use dup_viewx = viewx;