diff options
| author | kkard2 <[email protected]> | 2025-09-22 17:21:30 +0200 |
|---|---|---|
| committer | kkard2 <[email protected]> | 2025-09-22 17:21:30 +0200 |
| commit | a17e7369bfe9cb4a23225084a396ec92823bad2b (patch) | |
| tree | b229b07c1a1c131467f61010eec985b62293897e /examples/uv.c | |
| parent | 2d0894f9887f9e100d7546b6ca93934eced93e39 (diff) | |
reorganize examples
Diffstat (limited to 'examples/uv.c')
| -rw-r--r-- | examples/uv.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/uv.c b/examples/uv.c index 937c4d5..9d56bf8 100644 --- a/examples/uv.c +++ b/examples/uv.c @@ -4,8 +4,8 @@ #define SPONGE_EXAMPLE_IMPLEMENTATION #define SPONGE_EXAMPLE_INIT_DEFINED #define SPONGE_EXAMPLE_MOUSE_MOVE_DEFINED -#include "../example.h" -#include "../stb_image.h" +#include "example.h" +#include "vendor/stb_image.h" sponge_Texture texture; @@ -13,7 +13,7 @@ int32_t mouse_x; int32_t mouse_y; void init() { - unsigned char *data = stbi_load("examples/kot.png", &texture.width, &texture.height, NULL, 4); + unsigned char *data = stbi_load("examples/assets/kot.png", &texture.width, &texture.height, NULL, 4); if (!data) { printf("%s\n", stbi_failure_reason()); assert(0); |
