diff examples/example-drawable.c @ 134:197374e9f0b2

cmake: prefix assets with their directory
author David Demelier <markand@malikania.fr>
date Sun, 11 Oct 2020 14:54:27 +0200
parents 9301c7c84471
children 30b68089ae70
line wrap: on
line diff
--- a/examples/example-drawable.c	Sun Oct 11 14:41:31 2020 +0200
+++ b/examples/example-drawable.c	Sun Oct 11 14:54:27 2020 +0200
@@ -83,7 +83,7 @@
 		panic();
 
 	/* 0: Explosion animation. */
-	if (!image_openmem(&explosion_tex, explosion, sizeof (explosion)))
+	if (!image_openmem(&explosion_tex, sprites_explosion, sizeof (sprites_explosion)))
 		panic();
 
 	sprite_init(&explosion_sprite, &explosion_tex, 256, 256);