From 4be7693f1b772623c20e6bae27b44ef8a0353632 Mon Sep 17 00:00:00 2001 From: Rena4ka Date: Tue, 22 Apr 2014 02:59:03 -0700 Subject: [PATCH] Mipmapped texture arrays Fixed TextureUtil to properly handle mipmapped texture 2d arrays and 3d textures --- .../src/main/java/com/jme3/renderer/lwjgl/TextureUtil.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 7aebb22fb..36ba9d370 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 @@ -307,7 +307,7 @@ class TextureUtil { // or upload slice if (index == -1){ GL12.glTexImage3D(target, - 0, + i, glFmt.internalFormat, mipWidth, mipHeight,