mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-10 08:38:20 +00:00
[client] warn about poor FPS display performance
This commit is contained in:
parent
5842ce23a3
commit
eb1c61f335
@ -779,6 +779,14 @@ int run()
|
|||||||
DEBUG_INFO("SDL_VIDEODRIVER has been set to wayland");
|
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)
|
if (SDL_Init(SDL_INIT_VIDEO) < 0)
|
||||||
{
|
{
|
||||||
DEBUG_ERROR("SDL_Init Failed");
|
DEBUG_ERROR("SDL_Init Failed");
|
||||||
|
Loading…
Reference in New Issue
Block a user