fixing things

This commit is contained in:
Kbz-8
2025-01-07 01:20:26 +01:00
parent aa345c7e38
commit 54b45824b3
21 changed files with 242 additions and 199 deletions

View File

@@ -47,8 +47,6 @@ extern "C"
MLX_CHECK_APPLICATION_POINTER(mlx);
if(fps < 0)
mlx::Error("You cannot set a negative FPS cap (nice try)");
else if(fps == 0)
mlx::Error("You cannot set a FPS cap to 0 (nice try)");
else
mlx->app->SetFPSCap(static_cast<std::uint32_t>(fps));
}