Skip to content

Commit

Permalink
fix failing unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
shadowislord committed Apr 11, 2016
1 parent f5072cb commit 8d4962d
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions jme3-core/src/test/java/com/jme3/material/MaterialTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -114,19 +114,19 @@ public void testSelectDefaultTechnique_GLSL100Cap_MultipleLangs() {
@Test
public void testSelectNamedTechnique_GLSL150Cap() {
supportGlsl(150);
material("Common/MatDefs/Misc/Particle.j3md");
material("Common/MatDefs/Light/Lighting.j3md");

material.selectTechnique("SoftParticles", renderManager);
material.selectTechnique("PostShadow", renderManager);

checkRequiredCaps(Caps.GLSL100, Caps.GLSL150);
checkRequiredCaps(Caps.GLSL150);
}

@Test
public void testSelectNamedTechnique_GLSL100Cap() {
supportGlsl(100);
material("Common/MatDefs/Misc/Particle.j3md");
material("Common/MatDefs/Light/Lighting.j3md");

material.selectTechnique("SoftParticles", renderManager);
material.selectTechnique("PostShadow", renderManager);

checkRequiredCaps(Caps.GLSL100);
}
Expand Down

0 comments on commit 8d4962d

Please sign in to comment.