mirror of
https://github.com/emilk/egui.git
synced 2026-09-03 07:10:04 -04:00
Fix web build
This commit is contained in:
@@ -186,13 +186,13 @@ impl AppRunner {
|
|||||||
textures_delta,
|
textures_delta,
|
||||||
shapes,
|
shapes,
|
||||||
pixels_per_point,
|
pixels_per_point,
|
||||||
viewports,
|
viewport_output,
|
||||||
viewport_commands: _, // TODO(emilk): handle some of the commands, like setting the title and icon
|
|
||||||
} = full_output;
|
} = full_output;
|
||||||
|
|
||||||
if viewports.len() > 1 {
|
if viewport_output.len() > 1 {
|
||||||
log::warn!("Multiple viewports not yet supported on the web");
|
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.handle_platform_output(platform_output);
|
||||||
self.textures_delta.append(textures_delta);
|
self.textures_delta.append(textures_delta);
|
||||||
|
|||||||
Reference in New Issue
Block a user