Skip to content

Commit

Permalink
Merge branch 'glew-wayland'
Browse files Browse the repository at this point in the history
  • Loading branch information
rollerozxa committed Jun 29, 2024
2 parents 30bd25a + c0766e7 commit 70fbcd0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tms/backend/main.cc
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,7 @@ tbackend_init_surface()

tms_infof("Initializing GLEW...");
GLenum err = glewInit();
if (err != GLEW_OK) {
if (err != GLEW_OK && err != GLEW_ERROR_NO_GLX_DISPLAY) {
tms_infof("ERROR: %s", glewGetErrorString(err));
exit(1);
}
Expand Down

0 comments on commit 70fbcd0

Please sign in to comment.