Commit d4bfd8a2 authored by Keith Whitwell's avatar Keith Whitwell

llvmpipe: fix bad patch application

parent 14ac294e
......@@ -815,6 +815,10 @@ lp_setup_update_state( struct lp_setup_context *setup )
for (i = 0; i < Elements(setup->fs.current_tex); i++) {
if (setup->fs.current_tex[i])
lp_scene_add_resource_reference(scene, setup->fs.current_tex[i]);
}
}
}
if (setup->dirty & LP_SETUP_NEW_SCISSOR) {
setup->draw_region = setup->framebuffer;
if (setup->scissor_test) {
......@@ -823,11 +827,6 @@ lp_setup_update_state( struct lp_setup_context *setup )
}
}
}
}
}
setup->dirty = 0;
assert(setup->fs.stored);
......
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