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

Fix web build

This commit is contained in:
Emil Ernerfeldt
2023-11-15 20:12:50 +01:00
parent 4930e7ba4e
commit 09b639e586

View File

@@ -186,13 +186,13 @@ impl AppRunner {
textures_delta,
shapes,
pixels_per_point,
viewports,
viewport_commands: _, // TODO(emilk): handle some of the commands, like setting the title and icon
viewport_output,
} = full_output;
if viewports.len() > 1 {
if viewport_output.len() > 1 {
log::warn!("Multiple viewports not yet supported on the web");
}
// TODO(emilk): handle some of the command in `viewport_output`, like setting the title and icon?
self.handle_platform_output(platform_output);
self.textures_delta.append(textures_delta);