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:
@@ -65,7 +65,8 @@
|
||||
#include <gl\wglew.h>
|
||||
#include <gl\GL.h>
|
||||
#include <BugTrap.h>
|
||||
|
||||
#include <shlobj.h>
|
||||
|
||||
#define SHADER_VERSION "#version 150\n"
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user