changed constexpr nanosecs to const

This commit is contained in:
Bob Polis 2020-10-26 20:53:15 +01:00
parent 6b302374a9
commit f42c015919

View File

@ -21,8 +21,8 @@
const int WIDTH {700};
const int HEIGHT {700};
constexpr double FPS {50.0};
constexpr int nanosecs {static_cast<int>(round(1000000000.0 / FPS))};
const double FPS {50.0};
const int nanosecs {static_cast<int>(round(1000000000.0 / FPS))};
sc::gui::Window* main_window {nullptr};
sc::gui::Image* main_image {nullptr};