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

Remove viewport_id from tessellate and added tessellate_for

This commit is contained in:
Konkitoman
2023-11-08 07:36:36 +02:00
parent 12f3782721
commit f174467d42
5 changed files with 24 additions and 19 deletions

View File

@@ -77,7 +77,7 @@ impl EguiGlow {
self.painter.set_texture(id, &image_delta);
}
let clipped_primitives = self.egui_ctx.tessellate(shapes, ViewportId::ROOT);
let clipped_primitives = self.egui_ctx.tessellate(shapes);
let dimensions: [u32; 2] = window.inner_size().into();
self.painter.paint_primitives(
dimensions,