[client] rename fps variables to be more correct

This commit is contained in:
Geoffrey McRae
2018-12-12 23:59:22 +11:00
parent b927f991d6
commit 5fe2db7e56
5 changed files with 9 additions and 9 deletions

View File

@@ -339,13 +339,13 @@ bool egl_render(void * opaque, SDL_Window * window)
return true;
}
void egl_update_fps(void * opaque, const float avgFPS, const float renderFPS)
void egl_update_fps(void * opaque, const float avgUPS, const float avgFPS)
{
struct Inst * this = (struct Inst *)opaque;
if (!this->params.showFPS)
return;
egl_fps_update(this->fps, avgFPS, renderFPS);
egl_fps_update(this->fps, avgUPS, avgFPS);
}
static void handle_opt_vsync(void * opaque, const char *value)