From f5065ae1c235732d8dbc2d5c408c3f81b83d8537 Mon Sep 17 00:00:00 2001 From: im-tem Date: Mon, 30 Jun 2025 15:00:31 +0300 Subject: [PATCH] define OpenGL flag for SDL3 so that it works on all platform --- src/state.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/state.h b/src/state.h index 49e28af..108b4f6 100644 --- a/src/state.h +++ b/src/state.h @@ -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