On 21 November 2014 at 18:32, Stefan Dösinger stefan@codeweavers.com wrote:
- window = CreateWindowA("d3d9_test_wc", "d3d9_test", WS_OVERLAPPEDWINDOW | WS_VISIBLE,
0, 0, 640, 480, NULL, NULL, NULL, NULL);
- ret = SetCursorPos(50, 50);
- ok(ret, "Failed to set cursor position.\n");
- flush_events(); memset(&info, 0, sizeof(info)); info.cbSize = sizeof(info); ok(GetCursorInfo(&info), "GetCursorInfo failed\n"); cur = info.hCursor;
- window = CreateWindowA("d3d9_test_wc", "d3d9_test", WS_OVERLAPPEDWINDOW,
ok(!!window, "Failed to create a window.\n");0, 0, 640, 480, NULL, NULL, NULL, NULL);
I think I'd prefer the ok() moved as well, like in the d3d8 version.