Refactor draw command recording.
Remove distinct draw primitives and unify them into one shared form.
This commit is contained in:
1 parent
a6d18a320c
commit
3fc87339ca
17 files changed
+397
-638
No files matched your search
+3
-4
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user