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:
commit
60fa6a7e38
@ -347,7 +347,7 @@ class TextureUtil {
|
||||
// or upload slice
|
||||
if (index == -1){
|
||||
GL12.glTexImage3D(target,
|
||||
0,
|
||||
i,
|
||||
glFmt.internalFormat,
|
||||
mipWidth,
|
||||
mipHeight,
|
||||
|
Loading…
x
Reference in New Issue
Block a user