goplus / gogen

Code generator for the Go language

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ebiten project "resources" directory cannot be used

visualfc opened this issue · comments

spxdemo
spxdemo/resources
$ cd spxdemo
$ gop build .
$ ./spxdemo

dump pwd
Users/.../spxdemo/resources not Users/.../spxdemo/
change directory "resources" to others name is ok

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);
}