diff options
| author | kkard2 <[email protected]> | 2025-09-07 09:29:11 +0200 |
|---|---|---|
| committer | kkard2 <[email protected]> | 2025-09-07 09:29:11 +0200 |
| commit | ab6db2bfd9733552d6c25eaa806858ffed0e388a (patch) | |
| tree | 350f23a0c5b2ba5ff701545e122fefccdba44bbb /platform_win32.c | |
| parent | c451018c17ce4953a7011fce6cafa55e362e0005 (diff) | |
texture
Diffstat (limited to 'platform_win32.c')
| -rw-r--r-- | platform_win32.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/platform_win32.c b/platform_win32.c index 620b8a2..ef2384c 100644 --- a/platform_win32.c +++ b/platform_win32.c @@ -9,6 +9,9 @@ #define SPONGE_IMPLEMENTATION #include "sponge.h" +#define STB_IMAGE_IMPLEMENTATION +#include "stb_image.h" + #include "example.h" #define DEFAULT_WIDTH 256 @@ -114,6 +117,8 @@ int WinMain( MSG msg = {0}; BOOL running = TRUE; + init(); + while (running) { while (PeekMessage(&msg, NULL, 0, 0, PM_REMOVE)) { if (msg.message == WM_QUIT) { |
