Skip to content

Commit

Permalink
fix compiler error on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
MESYETI committed Nov 5, 2023
1 parent 7967bc2 commit 84cc3a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/display.d
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 84cc3a2

Please sign in to comment.