wined3d: Remove a useless NULL check (Coverity).

This commit is contained in:
Marcus Meissner 2011-08-30 15:51:27 +02:00 committed by Alexandre Julliard
parent 4f704760e1
commit 7023964865

View file

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