diff options
Diffstat (limited to 'ui.cpp')
-rw-r--r-- | ui.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -515,9 +515,9 @@ void UI::render(Arena* s, Texture_Id target) { pb.texture(shader_info.atlas_binding, atlas, sampler); pipeline = &pb.build(); - mesh.reset(Rect(0, 0, t.w, t.h)); root->render(); mesh.draw(this, ctx, *pipeline, *render_pass); + mesh.reset(Rect(0, 0, t.w, t.h)); } void UI::draw_container(const Rect& bound, Colour c) { |