and one more piece of code

This commit is contained in:
tildearrow 2023-06-13 04:38:13 -05:00
parent 8ee4734eab
commit 1ffa80e845
1 changed files with 2 additions and 0 deletions

View File

@ -158,6 +158,8 @@ bool FurnaceGUIRenderDX11::lockTexture(void* which, void** data, int* pitch) {
t->lockedData=(unsigned char*)mappedRes.pData;
*data=mappedRes.pData;
*pitch=mappedRes.RowPitch;
logV("texture locked... pitch: %d",mappedRes.RowPitch);
return true;
}