On Sun, 1 May 2022 at 20:39, Stefan Dösinger stefan@codeweavers.com wrote:
@@ -6113,6 +6121,27 @@ void wined3d_format_convert_from_float(const struct wined3d_format *format, cons return; }
- for (i = 0; i < ARRAY_SIZE(float32_copy); ++i)
- {
if (format_id != float32_copy[i])
continue;
switch(format->byte_count)
Missing space after "switch".
Could we just check for WINED3DFMT_FLAG_FLOAT and the component sizes instead of listing individual formats?