From e5fbdd65c8b79bd46d1ca1a12aa36c99ad0b140c Mon Sep 17 00:00:00 2001 From: Warwick Date: Wed, 3 Dec 2025 18:21:10 +0000 Subject: [PATCH] Moved textures to data dir --- testxure.png => data/testxure.png | Bin src/main.c | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename testxure.png => data/testxure.png (100%) diff --git a/testxure.png b/data/testxure.png similarity index 100% rename from testxure.png rename to data/testxure.png diff --git a/src/main.c b/src/main.c index 780bf55..a929ba3 100644 --- a/src/main.c +++ b/src/main.c @@ -126,7 +126,7 @@ int main(int argc, char *argv[]) { // glBindVertexArray(0); // Texture Load - SDL_Surface *image = IMG_Load("./testxure.png"); + SDL_Surface *image = IMG_Load("./data/testxure.png"); if (image == NULL) { SDL_LogError(SDL_LOG_CATEGORY_APPLICATION, "Couldn't load texture"); return EXIT_FAILURE;