25 Jul
2022
25 Jul
'22
8:01 a.m.
Stefan D��singer (@stefan) commented about dlls/d3drm/tests/d3drm.c:
ok(compare_color(ret_color, 0x00ffffff, 1), "Got unexpected color 0x%08lx.\n", ret_color); CHECK_REFCOUNT(frame1, 1);
+ hr = IDirect3DRMFrame_SetSceneBackgroundRGB(frame1, 2.0f, 2.0f, 2.0f);
Wouldn't that just do the same as color 1.0, 1.0, 1.0? If I understand d3drm_color_component right the color floats range from 0.0 to 1.0. No such thing as true floating point render targets in ddraw :-) -- https://gitlab.winehq.org/wine/wine/-/merge_requests/477#note_4857