Skip to content

Commit b4068ae

Browse files
committed
FIXED DEADLY BUG
1 parent acebe70 commit b4068ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/nbl/asset/filters/CMatchedSizeInOutImageFilterCommon.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ class NBL_API CMatchedSizeInOutImageFilterCommon : public CBasicImageFilterCommo
195195
{
196196
IImage::SSubresourceLayers subresource = {static_cast<IImage::E_ASPECT_FLAGS>(0u),state->inMipLevel,state->inBaseLayer,state->layerCount};
197197
state_type::TexelRange range = {state->inOffset,state->extent};
198-
CBasicImageFilterCommon::clip_region_functor_t clip(subresource,range,commonExecuteData.outFormat);
198+
CBasicImageFilterCommon::clip_region_functor_t clip(subresource,range,commonExecuteData.inFormat);
199199
// setup convert state
200200
// I know my two's complement wraparound well enough to make this work
201201
const auto& outRegionOffset = commonExecuteData.oit->imageOffset;

0 commit comments

Comments
 (0)