Commit a601930a authored by Zebediah Figura's avatar Zebediah Figura Committed by Alexandre Julliard

dxgi: Build the device list only once in dxgi_output_get_display_mode_list().

parent b42aa9b8
......@@ -144,7 +144,7 @@ static HRESULT dxgi_output_get_display_mode_list(struct dxgi_output *output,
for (i = 0; i < *mode_count; ++i)
{
if (FAILED(hr = wined3d_output_get_mode(output->wined3d_output, wined3d_format,
WINED3D_SCANLINE_ORDERING_UNKNOWN, i, &mode, false)))
WINED3D_SCANLINE_ORDERING_UNKNOWN, i, &mode, true)))
{
WARN("Failed to get output mode %u, hr %#lx.\n", i, hr);
wined3d_mutex_unlock();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment