Moved textures to data dir

This commit is contained in:
Warwick 2025-12-03 18:21:10 +00:00
parent ed015e0af7
commit e5fbdd65c8
2 changed files with 1 additions and 1 deletions

View file

Before

Width:  |  Height:  |  Size: 63 KiB

After

Width:  |  Height:  |  Size: 63 KiB

View file

@ -126,7 +126,7 @@ int main(int argc, char *argv[]) {
// glBindVertexArray(0); // glBindVertexArray(0);
// Texture Load // Texture Load
SDL_Surface *image = IMG_Load("./testxure.png"); SDL_Surface *image = IMG_Load("./data/testxure.png");
if (image == NULL) { if (image == NULL) {
SDL_LogError(SDL_LOG_CATEGORY_APPLICATION, "Couldn't load texture"); SDL_LogError(SDL_LOG_CATEGORY_APPLICATION, "Couldn't load texture");
return EXIT_FAILURE; return EXIT_FAILURE;