Background:
I am writing a GLFW app on MacOSX. When I call glfwCreateWindow, the MacBundle stuff is called. Right now, in my program execution, I ahve the following:
// getcwd() = /Users/me/code
glfwCreateWindow(...); // some MacBundle stuff happens
// getcwd() = /Users/me/code/prog.app/Contents/Resources
I would like to control this MacBundle initialization stuff; and have it happen before the glfwCreateWindow(). What function can I call to make this happen? (I'm coding in C/C++)
Thanks!