Skip to content

Commit

Permalink
Fix window title cast
Browse files Browse the repository at this point in the history
  • Loading branch information
GabyForceQ committed Oct 27, 2018
1 parent f87d652 commit ebf5c3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/liberty/core/window.d
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit ebf5c3b

Please sign in to comment.