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:
Henri Verbeet 2019-08-13 13:01:40 +04:30 committed by Alexandre Julliard
parent b27f961eeb
commit 9bbe8ec590
1 changed files with 1 additions and 1 deletions

View File

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