Refactor draw command recording.

Remove distinct draw primitives and unify them into one shared form.
This commit is contained in:
meehl committed 2026-08-15 19:19:55 +02:00
1 parent a6d18a320c
commit 3fc87339ca
17 files changed
+397 -638

No files matched your search

+3 -4
View File
@@ -114,10 +114,9 @@ impl App {
{
RenderJob::Skip
} else {
let meshes = self.tessellator.convert_clipped_primitives(
mode_output.primitives,
self.state.window.scale_factor(),
);
let meshes = self
.tessellator
.convert_draw_commands(mode_output.draw_commands);
RenderJob::Render {
meshes,