diff options
author | quou <quou@disroot.org> | 2025-01-13 20:56:13 +1100 |
---|---|---|
committer | quou <quou@disroot.org> | 2025-01-13 20:56:13 +1100 |
commit | 014077c89bb3c50718d56430f387109ad43508b6 (patch) | |
tree | 02fa1ab03218fc22de4d875b7d8d593cbc19d67c /ui.cpp | |
parent | 4d5cdc97a044a39fabbfb980b2e48a817a6e485f (diff) |
basic picking and debug rendering
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) { |