Commit 6b7e507
committed
build: auto-detect ImGui GLSL version from active GL context
Pass nullptr to ImGui_ImplOpenGL3_Init() so ImGui queries the active
context for the correct GLSL version, rather than hardcoding "#version 100"
which is invalid on GLES3 contexts.1 parent 398c398 commit 6b7e507
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1086 | 1086 | | |
1087 | 1087 | | |
1088 | 1088 | | |
1089 | | - | |
| 1089 | + | |
1090 | 1090 | | |
1091 | 1091 | | |
1092 | 1092 | | |
| |||
0 commit comments