Commit d82cbea6 authored by Henri Verbeet's avatar Henri Verbeet Committed by Alexandre Julliard

wined3d: Don't require a specific context in wined3d_device_init_3d().

parent 84db0562
......@@ -1075,7 +1075,7 @@ HRESULT CDECL wined3d_device_init_3d(struct wined3d_device *device,
device->swapchains[0] = swapchain;
device_init_swapchain_state(device, swapchain);
context = context_acquire(device, swapchain->front_buffer->sub_resources[0].u.surface);
context = context_acquire(device, NULL);
create_dummy_textures(device, context);
create_default_samplers(device);
......
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