Skip to content
Snippets Groups Projects
Commit c125c658 authored by Henri Verbeet's avatar Henri Verbeet Committed by Alexandre Julliard
Browse files

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: default avatarHenri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard's avatarAlexandre Julliard <julliard@winehq.org>
parent 2200b841
No related branches found
No related tags found
No related merge requests found
......@@ -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];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment