[idd] driver: correct reported stride

This commit is contained in:
Geoffrey McRae committed 2025-08-29 15:53:42 +10:00
1 parent 60d7c84972
commit 11c86273d2
1 file changed
+1 -1
+1 -1
View File
@@ -719,7 +719,7 @@ CIndirectDeviceContext::PreparedFrameBuffer CIndirectDeviceContext::PrepareFrame
fi->dataHeight = height;
fi->frameWidth = width;
fi->frameHeight = height;
fi->stride = width * bpp;
fi->stride = pitch / bpp;
fi->pitch = pitch;
// fi->offset is initialized at startup
fi->flags = 0;