<div dir="ltr"><div>Hello,</div><div><br></div><div>In the following code why
mage->base.row_pitches[0] is divided by 4 and passed as width to xcb_put_function() ? <br></div><div><br></div><div> 26 static VkResult</div> 25 x11_present_to_x11_sw(struct x11_swapchain *chain, uint32_t image_index,<br>...<br> 15 <br> 14 cookie = xcb_put_image(chain->conn, XCB_IMAGE_FORMAT_Z_PIXMAP,<br> 13 chain->window,<br> 12 chain->gc,<br> 11 image->base.row_pitches[0] / 4,<br> 10 chain->extent.height,<br> 9 0,0,0,24,<br> 8 image->base.row_pitches[0] * chain->extent.height,<br> 7 myptr);<br><div><br></div><div>Thanks,</div><div>Vivek<br></div></div>