Skip to content

[rcore][SDL] GetWorkingDirectory() returns application directory after initialization #4388

@quicktea8313

Description

@quicktea8313

This is an issue with the SDL backend.

Before Raylib is inititalized, GetWorkingDirectory() returns the correct working directory. After initialization, it instead returns the same as GetApplicationDirectory(). This also causes resources not to load if your application is running from somewhere other than the current directory.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions