diff --git a/jme3-lwjgl/src/main/java/com/jme3/renderer/lwjgl/TextureUtil.java b/jme3-lwjgl/src/main/java/com/jme3/renderer/lwjgl/TextureUtil.java index 72e4fea68..d4da3cd64 100644 --- a/jme3-lwjgl/src/main/java/com/jme3/renderer/lwjgl/TextureUtil.java +++ b/jme3-lwjgl/src/main/java/com/jme3/renderer/lwjgl/TextureUtil.java @@ -347,7 +347,7 @@ class TextureUtil { // or upload slice if (index == -1){ GL12.glTexImage3D(target, - 0, + i, glFmt.internalFormat, mipWidth, mipHeight,