Window title fix

This commit is contained in:
MihailRis
2023-12-04 21:20:50 +03:00
parent aedbc230bc
commit 20ff8f71bf
3 changed files with 4 additions and 4 deletions
+3 -1
View File
@@ -18,7 +18,9 @@ struct DisplaySettings {
/* GLFW swap interval value, 0 - unlimited fps, 1 - vsync*/
int swapInterval = 1;
/* Window title */
const char* title = "VoxelEngine-Cpp v" ENGINE_VERSION;
std::string title = "VoxelEngine-Cpp v" +
std::to_string(ENGINE_VERSION_MAJOR) + "." +
std::to_string(ENGINE_VERSION_MINOR);
};
struct ChunksSettings {