July 11, 2025
10:58 a.m.
On Thu Jul 10 20:42:23 2025 +0000, Matteo Bruni wrote:
Just clarifying that the helper function can simply be a glorified / hidden away cast. But since we're introducing our own `enum d3dx_image_file_format` anyway it seems proper to have conversion functions as well, even if they're effectively NOPs. I added conversion helper functions, and also added some validation to `d3dximage_info_from_d3dx_image()` since it uses them. Might be overkill, but felt wrong to use conversion functions without some kind of validation in there. :)
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/8490#note_109590