wined3d: Get rid of the "d3d_initialized" check in context_resource_released().
When this was introduced in commit401e99b0c0
, it protected against calling the equivalent of context_acquire() on the equivalent of the no3d adapter. Commit94d33d3e86
removed the call in question. Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
2200b841d5
commit
c125c65846
|
@ -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];
|
||||
|
|
Loading…
Reference in New Issue