[idd] driver: correct reported stride

This commit is contained in:
Geoffrey McRae
2025-08-29 15:53:42 +10:00
parent 60d7c84972
commit 11c86273d2

View File

@@ -719,7 +719,7 @@ CIndirectDeviceContext::PreparedFrameBuffer CIndirectDeviceContext::PrepareFrame
fi->dataHeight = height; fi->dataHeight = height;
fi->frameWidth = width; fi->frameWidth = width;
fi->frameHeight = height; fi->frameHeight = height;
fi->stride = width * bpp; fi->stride = pitch / bpp;
fi->pitch = pitch; fi->pitch = pitch;
// fi->offset is initialized at startup // fi->offset is initialized at startup
fi->flags = 0; fi->flags = 0;