wined3d: "render_targets" is never NULL in context_find_fbo_entry().

Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Henri Verbeet 2016-03-11 16:01:38 +01:00 committed by Alexandre Julliard
parent 565a571546
commit f8c1c1778a
1 changed files with 1 additions and 1 deletions

View File

@ -472,7 +472,7 @@ static struct fbo_entry *context_find_fbo_entry(struct wined3d_context *context,
UINT object_count = gl_info->limits.buffers + 1;
unsigned int i;
if (depth_stencil && render_targets && render_targets[0])
if (depth_stencil && render_targets[0])
{
if (depth_stencil->resource.width < render_targets[0]->resource.width ||
depth_stencil->resource.height < render_targets[0]->resource.height)