fix release mode discrepancies

main
cosmonaut 2023-12-21 15:21:49 -08:00
parent 88e6d48d50
commit 1dcf99b1f2
2 changed files with 8 additions and 2 deletions

2
.vscode/tasks.json vendored
View File

@ -89,7 +89,7 @@
"command": "ProjectName.exe"
},
"options": {
"cwd": "${workspaceFolder}/bin/Debug/net8.0"
"cwd": "${workspaceFolder}/bin/Release/net8.0"
},
"type": "process",
"group": {

View File

@ -24,10 +24,16 @@ namespace ProjectName
Cap = 60
};
var debugMode = false;
#if DEBUG
debugMode = true;
#endif
ProjectNameGame game = new ProjectNameGame(
windowCreateInfo,
frameLimiterSettings,
true
debugMode
);
game.Run();