test: fix crash due to deprecated material

experimental
Kirill Vainer 9 years ago
parent 78d2d6e944
commit 1aaf806c65
  1. 2
      jme3-examples/src/main/java/jme3test/renderer/TestInconsistentCompareDetection.java

@ -63,7 +63,7 @@ public class TestInconsistentCompareDetection extends SimpleApplication {
cam.setLocation(new Vector3f(-11.674385f, 7.892636f, 33.133106f));
cam.setRotation(new Quaternion(0.06426433f, 0.90940624f, -0.15329266f, 0.38125014f));
Material m = new Material(assetManager, "Common/MatDefs/Misc/ColoredTextured.j3md");
Material m = new Material(assetManager, "Common/MatDefs/Misc/Unshaded.j3md");
m.setColor("Color", ColorRGBA.White);
t1 = assetManager.loadTexture("Textures/Terrain/BrickWall/BrickWall.jpg");

Loading…
Cancel
Save