5 Mar
2024
5 Mar
'24
2:07 p.m.
Matteo Bruni (@Mystral) commented about dlls/d3dx9_36/surface.c:
} }
+static HRESULT d3dx_image_decompress(const void *memory, UINT row_pitch, const RECT *rect, + const struct volume *size, const struct pixel_format_desc *desc, void **out_memory, + UINT *out_row_pitch, RECT *out_rect, const struct pixel_format_desc **out_desc) +{ + void (*fetch_dxt_texel)(int srcRowStride, const BYTE *pixdata, int i, int j, void *texel); + const struct pixel_format_desc *uncompressed_desc = NULL; + BYTE *uncompressed_mem; + unsigned int x, y; + UINT tmp_pitch;
Let's avoid UINT when not necessary (like in this case for an internal function). -- https://gitlab.winehq.org/wine/wine/-/merge_requests/5202#note_63517