Mipmapped texture arrays

Fixed TextureUtil to properly handle mipmapped texture 2d arrays and 3d textures
experimental
Rena4ka 11 years ago
parent 8d2b7a53e6
commit 4be7693f1b
  1. 2
      jme3-lwjgl/src/main/java/com/jme3/renderer/lwjgl/TextureUtil.java

@ -307,7 +307,7 @@ class TextureUtil {
// or upload slice // or upload slice
if (index == -1){ if (index == -1){
GL12.glTexImage3D(target, GL12.glTexImage3D(target,
0, i,
glFmt.internalFormat, glFmt.internalFormat,
mipWidth, mipWidth,
mipHeight, mipHeight,

Loading…
Cancel
Save