Forgot to remove these from the debug string.

This commit is contained in:
Henrik Rydgard 2016-04-02 10:28:38 +02:00
parent c1e9df0777
commit ad0da06f65
3 changed files with 2 additions and 3 deletions

View file

@ -171,7 +171,6 @@ static void ScheduleLagSync(int over = 0) {
} }
void __DisplayInit() { void __DisplayInit() {
gpuStats.Reset();
hasSetMode = false; hasSetMode = false;
mode = 0; mode = 0;
resumeMode = 0; resumeMode = 0;

View file

@ -2130,8 +2130,7 @@ void GLES_GPU::GetStats(char *buffer, size_t bufsize) {
"Cached, Uncached Vertices Drawn: %i, %i\n" "Cached, Uncached Vertices Drawn: %i, %i\n"
"FBOs active: %i\n" "FBOs active: %i\n"
"Textures active: %i, decoded: %i invalidated: %i\n" "Textures active: %i, decoded: %i invalidated: %i\n"
"Vertex, Fragment, Programs loaded: %i, %i, %i\n" "Vertex, Fragment, Programs loaded: %i, %i, %i\n",
"Pushbuffer space used: UBO %d, Vtx %d, Idx %d\n",
gpuStats.numVBlanks, gpuStats.numVBlanks,
gpuStats.msProcessingDisplayLists * 1000.0f, gpuStats.msProcessingDisplayLists * 1000.0f,
gpuStats.numDrawCalls, gpuStats.numDrawCalls,

View file

@ -35,6 +35,7 @@ GPUCommon::GPUCommon() :
SetThreadEnabled(g_Config.bSeparateCPUThread); SetThreadEnabled(g_Config.bSeparateCPUThread);
gstate.Reset(); gstate.Reset();
gstate_c.Reset(); gstate_c.Reset();
gpuStats.Reset();
} }
GPUCommon::~GPUCommon() { GPUCommon::~GPUCommon() {