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

When this was introduced in commit 401e99b0c0,
it protected against calling the equivalent of context_acquire() on the
equivalent of the no3d adapter. Commit
94d33d3e86 removed the call in question.

Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
feature/deterministic
Henri Verbeet 2020-06-03 15:40:04 +04:30 committed by Alexandre Julliard
parent 2200b841d5
commit c125c65846
1 changed files with 0 additions and 3 deletions

View File

@ -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];