From 9842fee8160b17cd73380cb85c1a05a832ea81ff Mon Sep 17 00:00:00 2001 From: Warwick Date: Fri, 28 Nov 2025 19:41:49 +0000 Subject: [PATCH] Added error out if theres and issue with glew which on wayland there is --- src/window.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/window.c b/src/window.c index 7a84754..e0ea56b 100644 --- a/src/window.c +++ b/src/window.c @@ -39,6 +39,7 @@ wn_window *wn_window_init(Arena *arena) { if (glewError != GLEW_OK) { SDL_LogError(SDL_LOG_CATEGORY_APPLICATION, "Error initializing GLEW! %s", glewGetErrorString(glewError)); + return NULL; } if (!SDL_GL_MakeCurrent(window->window, window->glcontext)) {