wined3d: Get rid of a redundant NULL check in wined3d_context_gl_acquire() (Coverity).
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
b27f961eeb
commit
9bbe8ec590
|
@ -4238,7 +4238,7 @@ struct wined3d_context *wined3d_context_gl_acquire(const struct wined3d_device *
|
|||
{
|
||||
context_gl = current_context;
|
||||
}
|
||||
else if (texture && !wined3d_resource_is_offscreen(&texture->resource))
|
||||
else if (!wined3d_resource_is_offscreen(&texture->resource))
|
||||
{
|
||||
TRACE("Rendering onscreen.\n");
|
||||
|
||||
|
|
Loading…
Reference in New Issue