diff --git a/jme3-examples/src/main/java/jme3test/material/TestGeometryShader.java b/jme3-examples/src/main/java/jme3test/material/TestGeometryShader.java index 04c8223f1..0199d70cc 100644 --- a/jme3-examples/src/main/java/jme3test/material/TestGeometryShader.java +++ b/jme3-examples/src/main/java/jme3test/material/TestGeometryShader.java @@ -8,6 +8,7 @@ import com.jme3.scene.Geometry; import com.jme3.scene.Mesh; import com.jme3.scene.VertexBuffer; import com.jme3.scene.shape.Sphere; +import com.jme3.system.AppSettings; import com.jme3.util.BufferUtils; /** @@ -37,6 +38,9 @@ public class TestGeometryShader extends SimpleApplication { public static void main(String[] args) { TestGeometryShader app = new TestGeometryShader(); + AppSettings settings = new AppSettings(true); + settings.setRenderer(AppSettings.LWJGL_OPENGL33); + app.setSettings(settings); app.start(); } } diff --git a/jme3-examples/src/main/java/jme3test/material/TestTessellationShader.java b/jme3-examples/src/main/java/jme3test/material/TestTessellationShader.java index dbf93811f..576b79392 100644 --- a/jme3-examples/src/main/java/jme3test/material/TestTessellationShader.java +++ b/jme3-examples/src/main/java/jme3test/material/TestTessellationShader.java @@ -9,6 +9,7 @@ import com.jme3.scene.Geometry; import com.jme3.scene.Mesh; import com.jme3.scene.VertexBuffer; import com.jme3.scene.shape.Quad; +import com.jme3.system.AppSettings; import com.jme3.util.BufferUtils; import java.util.concurrent.Callable; @@ -63,6 +64,10 @@ public class TestTessellationShader extends SimpleApplication { } public static void main(String[] args) { - new TestTessellationShader().start(); + TestTessellationShader app = new TestTessellationShader(); + AppSettings settings = new AppSettings(true); + settings.setRenderer(AppSettings.LWJGL_OPENGL40); + app.setSettings(settings); + app.start(); } }