mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
Window title fix
This commit is contained in:
parent
aedbc230bc
commit
20ff8f71bf
3 changed files with 4 additions and 4 deletions
|
|
@ -128,7 +128,7 @@ int Window::initialize(DisplaySettings& settings){
|
|||
glfwWindowHint(GLFW_RESIZABLE, GL_TRUE);
|
||||
glfwWindowHint(GLFW_SAMPLES, settings.samples);
|
||||
|
||||
window = glfwCreateWindow(width, height, settings.title, nullptr, nullptr);
|
||||
window = glfwCreateWindow(width, height, settings.title.c_str(), nullptr, nullptr);
|
||||
if (window == nullptr){
|
||||
cerr << "Failed to create GLFW Window" << endl;
|
||||
glfwTerminate();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue