test: fix syntax error
This commit is contained in:
parent
fc488be37b
commit
d0035b0bc6
@ -107,7 +107,7 @@ public class J3MLoaderTest {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private TextureKey setupMockForTexture(final String paramName, final String path, final boolean flipY, final Texture texture) {
|
private TextureKey setupMockForTexture(final String paramName, final String path, final boolean flipY, final Texture texture) {
|
||||||
when(materialDef.getMaterialParam(paramName)).thenReturn(new MatParamTexture(VarType.Texture2D, paramName, texture, 0, null));
|
when(materialDef.getMaterialParam(paramName)).thenReturn(new MatParamTexture(VarType.Texture2D, paramName, texture, null));
|
||||||
|
|
||||||
final TextureKey textureKey = new TextureKey(path, flipY);
|
final TextureKey textureKey = new TextureKey(path, flipY);
|
||||||
textureKey.setGenerateMips(true);
|
textureKey.setGenerateMips(true);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user