Merge pull request #1697 from bencoyote/fix_texture_array

Fix GL texture array
This commit is contained in:
Бранимир Караџић 2019-03-17 03:14:33 +00:00 committed by GitHub
commit 5013ba134f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4792,7 +4792,7 @@ BX_TRACE("%d, %d, %d, %s", _array, _srgb, _mipAutogen, getName(_format) );
if (!init(target
, ti.width
, ti.height
, ti.depth
, textureArray ? ti.numLayers : ti.depth
, ti.numMips
, _flags
) )