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

wined3d: Get rid of the "d3d_initialized" check in context_resource_released().

When this was introduced in commit 401e99b0, it protected against calling the equivalent of context_acquire() on the equivalent of the no3d adapter. Commit 94d33d3e removed the call in question. Signed-off-by: 's avatarHenri Verbeet <hverbeet@codeweavers.com> Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
parent 2200b841
......@@ -36,9 +36,6 @@ void context_resource_released(const struct wined3d_device *device, struct wined
{
unsigned int i;
if (!device->d3d_initialized)
return;
for (i = 0; i < device->context_count; ++i)
{
struct wined3d_context *context = device->contexts[i];
......
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