From ab6db2bfd9733552d6c25eaa806858ffed0e388a Mon Sep 17 00:00:00 2001 From: kkard2 Date: Sun, 7 Sep 2025 09:29:11 +0200 Subject: texture --- platform_win32.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'platform_win32.c') 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) { -- cgit v1.3.1