Repository navigation
Commit 52fa7cb
committed
Wayland GLEW fix: use __linux__ and WAYLAND_DISPLAY, keep X11 errors
- #ifdef linux isn't defined under -std=c++2c/c++23, which CppMode builds with
- the env var is WAYLAND_DISPLAY (underscore)
- only NO_GLX_DISPLAY on Wayland is ignored; every other glewInit error is still reported
- drop the duplicated glewExperimental line1 parent c9ff080 commit 52fa7cb
1 file changed
Lines changed: 7 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3628 | 3628 | | |
3629 | 3629 | | |
3630 | 3630 | | |
3631 | | - | |
3632 | 3631 | | |
3633 | | - | |
3634 | | - | |
3635 | | - | |
3636 | | - | |
| 3632 | + | |
| 3633 | + | |
| 3634 | + | |
| 3635 | + | |
| 3636 | + | |
| 3637 | + | |
3637 | 3638 | | |
| 3639 | + | |
3638 | 3640 | | |
3639 | 3641 | | |
3640 | 3642 | | |
| |||
0 commit comments