ebiten project "resources" directory cannot be used
visualfc opened this issue · 1 comments
visualfc commented
spxdemo
spxdemo/resources
$ cd spxdemo
$ gop build .
$ ./spxdemo
dump pwd
Users/.../spxdemo/resources
not Users/.../spxdemo/
change directory "resources" to others name is ok
visualfc commented
GLFWAPI void glfwInitHint(int hint, int value)
{
switch (hint)
{
case GLFW_JOYSTICK_HAT_BUTTONS:
_glfwInitHints.hatButtons = value;
return;
case GLFW_COCOA_CHDIR_RESOURCES:
_glfwInitHints.ns.chdir = value;
return;
case GLFW_COCOA_MENUBAR:
_glfwInitHints.ns.menubar = value;
return;
}
_glfwInputError(GLFW_INVALID_ENUM,
"Invalid init hint 0x%08X", hint);
}