define OpenGL flag for SDL3 so that it works on all platform

This commit is contained in:
im-tem
2025-06-30 15:00:31 +03:00
parent d317fe2fd8
commit f5065ae1c2

View File

@@ -4,7 +4,7 @@
#define WINDOW_WIDTH 1920
#define WINDOW_HEIGHT 1080
#define WINDOW_FLAGS SDL_WINDOW_RESIZABLE
#define WINDOW_FLAGS SDL_WINDOW_RESIZABLE | SDL_WINDOW_OPENGL
#define LINE_WIDTH 2.0f
struct State