1
0
mirror of https://github.com/emilk/egui.git synced 2026-08-30 21:30:03 -04:00

Split out tesselation from Context::end_frame()

This commit is contained in:
Emil Ernerfeldt
2020-11-07 11:44:32 +01:00
parent 901a6920be
commit af11d766fc
9 changed files with 59 additions and 29 deletions

View File

@@ -44,7 +44,8 @@ impl WebBackend {
.take()
.expect("unmatched calls to begin_frame/end_frame");
let (output, paint_jobs) = self.ctx.end_frame();
let (output, paint_commands) = self.ctx.end_frame();
let paint_jobs = self.ctx.tesselate(paint_commands);
self.auto_save();