Added error out if theres and issue with glew which on wayland there is
This commit is contained in:
parent
e1249ec669
commit
9842fee816
1 changed files with 1 additions and 0 deletions
|
|
@ -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)) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue