Commit f8c1c177 authored by Henri Verbeet's avatar Henri Verbeet Committed by Alexandre Julliard

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

parent 565a5715
......@@ -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)
......
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