9 Nov
2024
9 Nov
'24
1:43 a.m.
Matteo Bruni (@Mystral) commented about dlls/d3dx9_36/tests/surface.c:
+ }, + { D3DFMT_YUY2, 4, 4, NULL, D3D_OK, + { 32, DDS_PF_FOURCC, D3DFMT_YUY2, 0, 0, 0, 0, 0 }, + (DDS_CAPS | DDS_HEIGHT | DDS_WIDTH | DDS_PIXELFORMAT), 4, 4, 0, 0, 0, (DDS_CAPS_TEXTURE), 0, + DDS_FILE_HEADER_SIZE + (4 * 2 * 4) + }, + }; + struct + { + DWORD magic; + struct dds_header header; + BYTE *data; + } *dds; + IDirect3DSurface9 *surface; + ID3DXBuffer *buffer; + uint32_t i; Just `unsigned int` should be fine for a generic loop counter.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/6776#note_86944