mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-10-13 10:58:09 +00:00
[client] only init ttf if fps is enabled
This commit is contained in:
@@ -771,6 +771,8 @@ int run()
|
||||
return -1;
|
||||
}
|
||||
|
||||
if (params.showFPS)
|
||||
{
|
||||
if (TTF_Init() < 0)
|
||||
{
|
||||
DEBUG_ERROR("TTL_Init Failed");
|
||||
@@ -783,6 +785,7 @@ int run()
|
||||
DEBUG_ERROR("TTL_OpenFont Failed");
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
|
||||
state.window = SDL_CreateWindow(
|
||||
"KVM-GFX Test",
|
||||
|
Reference in New Issue
Block a user