- 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:
parent
1648fc6a07
commit
81341ac6c5
3 changed files with 9 additions and 66 deletions
|
|
@ -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");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue