6 Mar
2024
6 Mar
'24
8:30 p.m.
Matteo Bruni (@Mystral) commented about dlls/d3dx9_36/tests/surface.c:
ok_(__FILE__, line)(color == expected_color, "Got color 0x%08lx, expected 0x%08lx\n", color, expected_color); }
+#define check_readback_pixel_4bpp(rb, x, y, color, todo) _check_readback_pixel_4bpp(__LINE__, rb, x, y, color, todo) +static inline void _check_readback_pixel_4bpp(unsigned int line, struct surface_readback *rb, int x, int y, DWORD expected_color, + BOOL todo) +{ + DWORD color = get_readback_color(rb, x, y); + todo_wine_if(todo) ok_(__FILE__, line)(color == expected_color, "Got color 0x%08lx, expected 0x%08lx\n", color, expected_color);
Period at the end of the `ok()` message. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/5202#note_63750