Merge pull request #128 from GreenCubes/patch-1

* Fix issue where using a texture array with pregenerated mipmaps would fail with a GL error.
experimental
shadowislord 11 years ago
commit 60fa6a7e38
  1. 2
      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,

Loading…
Cancel
Save