Skip to content

Commit a038c05

Browse files
committed
added glsl version suggestion in test
1 parent 24cff03 commit a038c05

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/test/java/imgui/Test_lwjgl.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
import imgui.impl.LwjglGL3;
66
import org.lwjgl.opengl.GL;
77
import uno.glfw.GlfwWindow;
8+
import static imgui.impl.CommonKt.setGlslVersion;
89

910
import static org.lwjgl.opengl.GL11.GL_COLOR_BUFFER_BIT;
1011
import static org.lwjgl.opengl.GL11.glClear;
@@ -28,6 +29,7 @@ public void run() {
2829
init();
2930

3031
// Setup ImGui binding
32+
//setGlslVersion(330); // set here your desidered glsl version
3133
Context ctx = new Context(null);
3234
lwjglGL3.init(window, true);
3335

0 commit comments

Comments
 (0)