修复Demo的Main.cpp的问题,并修复int32-float的转换。
This commit is contained in:
@@ -205,6 +205,8 @@ namespace
|
||||
|
||||
int main(int argc, char* argv[])
|
||||
{
|
||||
std::cout << "[INFO] Start make tom game." << std::endl;
|
||||
|
||||
const ProgramOptions options = ParseProgramOptions(argc, argv);
|
||||
if (options.show_help)
|
||||
{
|
||||
@@ -257,7 +259,7 @@ int main(int argc, char* argv[])
|
||||
Core::Timer timer(options.target_fps);
|
||||
Platform::SteadyTimeSource time_source;
|
||||
|
||||
std::cout << "Tom game started. Target FPS: " << timer.target_fps() << std::endl;
|
||||
std::cout << "[INFO] Tom game started. Target FPS: " << timer.target_fps() << std::endl;
|
||||
|
||||
bool is_running = true;
|
||||
uint32_t animation_time_ms = 0;
|
||||
|
||||
Reference in New Issue
Block a user