set data_path to exe location on Windows because the open file dialog change the working directory, change the render loop to update only in case of an event or the animated or redraw is true

This commit is contained in:
2018-03-08 22:37:30 +01:00
parent da54181754
commit 1033b056af
5 changed files with 28 additions and 19 deletions

View File

@@ -15,4 +15,5 @@
#ifdef _WIN32
#pragma comment(lib, "BugTrapU-x64.lib")
#pragma comment(lib, "shell32.lib")
#endif // _WIN32