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.