Fix GL texture array
Bad num layers
This commit is contained in:
parent
feb453025d
commit
ccbb9ac6bc
@ -4792,7 +4792,7 @@ BX_TRACE("%d, %d, %d, %s", _array, _srgb, _mipAutogen, getName(_format) );
|
|||||||
if (!init(target
|
if (!init(target
|
||||||
, ti.width
|
, ti.width
|
||||||
, ti.height
|
, ti.height
|
||||||
, ti.depth
|
, textureArray ? ti.numLayers : ti.depth
|
||||||
, ti.numMips
|
, ti.numMips
|
||||||
, _flags
|
, _flags
|
||||||
) )
|
) )
|
||||||
|
Loading…
Reference in New Issue
Block a user