From ebf5c3bb527eeb8cfc0a221c5c46c5e70fa67772 Mon Sep 17 00:00:00 2001 From: Gabriel Gheorghe Date: Sat, 27 Oct 2018 12:48:36 +0300 Subject: [PATCH] Fix window title cast --- source/liberty/core/window.d | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/liberty/core/window.d b/source/liberty/core/window.d index 416255f..4b5f4a0 100644 --- a/source/liberty/core/window.d +++ b/source/liberty/core/window.d @@ -42,7 +42,7 @@ final class Window { Logger.info(InfoMessage.Creating, typeof(this).stringof); // Create window internally - handle = glfwCreateWindow(width, height, title, null, null); + handle = glfwCreateWindow(width, height, cast(const(char)*)title, null, null); resizeFrameBuffer(); glfwSetFramebufferSizeCallback(handle, &Event.frameBufferResizeCallback);