Zebediah Figura (@zfigura) commented about dlls/d3drm/tests/d3drm.c:
- /* Set color of a pixel on primary surface and on render target */
- ClientToScreen(window, &client_pos);
- hr = set_surface_color(d3drm_primary, 320 + client_pos.x, 240 + client_pos.y, 0x00123456);
- if (FAILED(hr))
- {
win_skip("Cannot lock/unlock primary surface, hr %#lx, skipping tests\n", hr);
goto cleanup;
- }
- ret_color = get_surface_color(d3drm_primary, 320 + client_pos.x, 240 + client_pos.y);
- if (!compare_color(ret_color, 0x00123456, 1))
- {
win_skip("Cannot set color of pixel on primary surface, color 0x%08lx, skipping tests\n", ret_color);
goto cleanup;
- }
- hr = set_surface_color(surface, 320, 240, 0x000000ff);
Where do these fail?