feat: dynamic glew linking on windows

This commit is contained in:
2025-10-01 10:40:59 +02:00
parent 6dc269ce13
commit 39f528d7ad

View File

@ -1,7 +1,11 @@
#ifndef PRELUDE_H_ #ifndef PRELUDE_H_
#define PRELUDE_H_ #define PRELUDE_H_
#ifndef WIN32
#define GLEW_STATIC #define GLEW_STATIC
#endif
#include <GL/glew.h> #include <GL/glew.h>
#include "SDL3/SDL.h" #include "SDL3/SDL.h"
struct RenderContext { struct RenderContext {