Skip to content

Commit 25e211b

Browse files
committed
fix: example gfx 2 path
1 parent b9b4df9 commit 25e211b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/example_gfx_2.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ pl_app_load(plApiRegistryI* ptApiRegistry, plAppData* ptAppData)
281281
int iImageWidth = 0;
282282
int iImageHeight = 0;
283283
int _unused;
284-
unsigned char* pucImageData = gptImage->load_from_file("/assets/textures/SpriteMapExample.png", &iImageWidth, &iImageHeight, &_unused, 4);
284+
unsigned char* pucImageData = gptImage->load_from_file("../data/pilotlight-assets-master/textures/SpriteMapExample.png", &iImageWidth, &iImageHeight, &_unused, 4);
285285

286286
// create texture
287287
const plTextureDesc tTextureDesc = {

0 commit comments

Comments
 (0)