Commit 70239648 authored by Marcus Meissner's avatar Marcus Meissner Committed by Alexandre Julliard

wined3d: Remove a useless NULL check (Coverity).

parent 4f704760
......@@ -2076,7 +2076,7 @@ void context_apply_blit_state(struct wined3d_context *context, struct wined3d_de
ENTER_GL();
context_apply_fbo_state_blit(context, GL_FRAMEBUFFER, rt, NULL, rt->draw_binding);
LEAVE_GL();
if (rt && rt->resource.format->id != WINED3DFMT_NULL)
if (rt->resource.format->id != WINED3DFMT_NULL)
rt_mask = 1;
else
rt_mask = 0;
......
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