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

Fix wasm build

This commit is contained in:
Emil Ernerfeldt
2023-11-15 16:49:21 +01:00
parent 1b1be3cd6c
commit 4790a64812
2 changed files with 3 additions and 5 deletions

View File

@@ -185,6 +185,7 @@ impl AppRunner {
platform_output,
textures_delta,
shapes,
pixels_per_point,
viewports,
viewport_commands: _, // TODO(emilk): handle some of the commands, like setting the title and icon
} = full_output;
@@ -195,9 +196,7 @@ impl AppRunner {
self.handle_platform_output(platform_output);
self.textures_delta.append(textures_delta);
let clipped_primitives = self
.egui_ctx
.tessellate(shapes, self.egui_ctx.pixels_per_point());
let clipped_primitives = self.egui_ctx.tessellate(shapes, pixels_per_point);
{
let app_output = self.frame.take_app_output();