- Moved all static variables in hw_renderhacks into HWDrawInfo

- removed the profiling code from hw_renderhacks because it was broken in its current state and if still needed needs to be redone differently.
This commit is contained in:
Christoph Oelckers 2018-04-25 13:59:14 +02:00
commit 81341ac6c5
3 changed files with 9 additions and 66 deletions

View file

@ -140,9 +140,6 @@ ADD_STAT(lightstats)
return out;
}
void AppendMissingTextureStats(FString &out);
static int printstats;
static bool switchfps;
static uint64_t waitstart;
@ -164,7 +161,7 @@ void CheckBench()
AppendRenderStats(compose);
AppendRenderTimes(compose);
AppendLightStats(compose);
AppendMissingTextureStats(compose);
//AppendMissingTextureStats(compose);
compose.AppendFormat("%llu fps\n\n", screen->GetLastFPS());
FILE *f = fopen("benchmarks.txt", "at");