Mipmapped texture arrays

Fixed TextureUtil to properly handle mipmapped texture 2d arrays and 3d textures
This commit is contained in:
Rena4ka 2014-04-22 02:59:03 -07:00
parent 8d2b7a53e6
commit 4be7693f1b

View File

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