Merge pull request #128 from GreenCubes/patch-1

* Fix issue where using a texture array with pregenerated mipmaps would fail with a GL error.
This commit is contained in:
shadowislord 2014-06-02 12:27:54 -04:00
commit 60fa6a7e38

View File

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