We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
It'd be best to load assets from a path relative to the main executable, rather than from a path relative to the current working directory (cwd).
#1 (comment)
The text was updated successfully, but these errors were encountered:
Solution is using the SDL_GetBasePath like so:
SDL_GetBasePath
#ifdef DEBUG char *base_path = SDL_GetBasePath(); if (base_path) { ThreeEngine::Debug::Log("Base Path: %s\n", base_path); } free(base_path); #endif
Sorry, something went wrong.
https://stackoverflow.com/questions/1528298/get-path-of-executable
No branches or pull requests
It'd be best to load assets from a path relative to the main executable, rather than from a path relative to the current working directory (cwd).
#1 (comment)
The text was updated successfully, but these errors were encountered: