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

wined3d: Use gl_info from the context in context_apply_clear_state().

parent bd50ce88
......@@ -2074,7 +2074,7 @@ BOOL context_apply_clear_state(struct wined3d_context *context, struct wined3d_d
struct wined3d_surface **rts = fb->render_targets;
if (isStateDirty(context, STATE_FRAMEBUFFER) || fb != &device->fb
|| rt_count != device->adapter->gl_info.limits.buffers)
|| rt_count != context->gl_info->limits.buffers)
{
if (!context_validate_rt_config(rt_count, fb->render_targets, fb->depth_stencil))
return FALSE;
......
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