summaryrefslogtreecommitdiff
path: root/platform_win32.c
diff options
context:
space:
mode:
Diffstat (limited to 'platform_win32.c')
-rw-r--r--platform_win32.c5
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) {