[client] warn about poor FPS display performance

This commit is contained in:
Geoffrey McRae 2018-12-13 01:34:23 +11:00
parent 5842ce23a3
commit eb1c61f335

View File

@ -779,6 +779,14 @@ int run()
DEBUG_INFO("SDL_VIDEODRIVER has been set to wayland");
}
// warn about using FPS display until we can fix the font rendering to prevent lag spikes
if (params.showFPS)
{
DEBUG_WARN("================================================================================");
DEBUG_WARN("WARNING: The FPS display causes microstutters, this is a known issue" );
DEBUG_WARN("================================================================================");
}
if (SDL_Init(SDL_INIT_VIDEO) < 0)
{
DEBUG_ERROR("SDL_Init Failed");