Skip to content

Commit b2080ca

Browse files
committed
important fix because getBlockDimensions also give 4th element
1 parent 382f8cb commit b2080ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/nbl/asset/format/EFormat.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -568,7 +568,7 @@ struct NBL_API TexelBlockInfo
568568
public:
569569
TexelBlockInfo(E_FORMAT format) :
570570
dimension(getBlockDimensions(format)),
571-
maxCoord(dimension-core::vector3du32_SIMD(1u, 1u, 1u)),
571+
maxCoord(dimension-core::vector3du32_SIMD(1u, 1u, 1u, 1u)),
572572
blockByteSize(getTexelOrBlockBytesize(format))
573573
{}
574574

0 commit comments

Comments
 (0)