24 Jan
2024
24 Jan
'24
12:13 p.m.
Matteo Bruni (@Mystral) commented about dlls/d3d9/tests/d3d9ex.c:
IDirect3DDevice9Ex_Release(device); }
+static void test_d3d9on12(void) +{ + IDirect3DDevice9On12 *d3d9on12_2 = (void *)0xdeadbeef; + IDirect3DDevice9On12 *d3d9on12 = (void *)0xdeadbeef; + IDirect3DDevice9 *device = (void *) 0xdeadbeef;
I'm going to be pedantic and mention that we want no space between the cast operator and the value (i.e. first cast is good, second is not). -- https://gitlab.winehq.org/wine/wine/-/merge_requests/4915#note_58811