File tree Expand file tree Collapse file tree
jme3-lwjgl3/src/main/java/com/jme3/system/lwjgl Expand file tree Collapse file tree Original file line number Diff line number Diff line change 8181
8282/**
8383 * Class <code>LwjglCanvas</code> that integrates <a href="https://github.com/LWJGLX/lwjgl3-awt">LWJGLX</a>
84- * which allows using AWT-Swing components.
84+ * which allows using AWT-Swing components, make sure you use an OpenGL renderer:
85+ * <pre><code>
86+ * settings.setRenderer(AppSettings.LWJGL_OPENGL32);
87+ * </code></pre>
8588 *
8689 * <p>
8790 * If <b>LwjglCanvas</b> throws an exception due to configuration problems, we can debug as follows:
101104 * <pre><code>
102105 * ....
103106 * AppSettings settings = new AppSettings(true);
104- * settings.setGammaCorrection(true);
105- * settings.setRenderer(AppSettings.LWJGL_OPENGL32);
107+ * settings.setGammaCorrection(false);
106108 * ...
107109 * </code></pre>
108110 *
You can’t perform that action at this time.
0 commit comments