diff --git a/source/display.d b/source/display.d index 1a36dea..f1a15d6 100644 --- a/source/display.d +++ b/source/display.d @@ -21,7 +21,7 @@ class Display { void Init() { version (Windows) { - auto res = loadSDL(dirName(thisExePath()) ~ "/sdl2.dll"); + auto res = loadSDL(format("%s/sdl2.dll", dirName(thisExePath())).toStringz()); } else { auto res = loadSDL();