From 819dad7c9c1a6432bccfb110b1767d23c3964ff5 Mon Sep 17 00:00:00 2001 From: Wouter Wijsman Date: Sun, 8 Mar 2026 17:07:42 +0100 Subject: [PATCH] Fix mistake in sprite example --- _includes/samples/sprite/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/_includes/samples/sprite/main.c b/_includes/samples/sprite/main.c index 3f78eb3..720cd2d 100644 --- a/_includes/samples/sprite/main.c +++ b/_includes/samples/sprite/main.c @@ -100,7 +100,7 @@ void endFrame(){ Texture * loadTexture(const char * filename) { Texture * texture = (Texture *) calloc(1, sizeof(Texture)); - texture->data = (uint32_t *) stbi_load("grass.png", &(texture->width), &(texture->height), NULL, STBI_rgb_alpha); + texture->data = (uint32_t *) stbi_load(filename, &(texture->width), &(texture->height), NULL, STBI_rgb_alpha); // Make sure the texture cache is reloaded sceKernelDcacheWritebackInvalidateAll(); @@ -161,4 +161,4 @@ int main() { free(texture); return 0; -} \ No newline at end of file +}