mirror of
https://github.com/emilk/egui.git
synced 2026-08-30 21:30:03 -04:00
Warn on web if there are more than one viewport
This commit is contained in:
@@ -185,9 +185,14 @@ impl AppRunner {
|
||||
platform_output,
|
||||
textures_delta,
|
||||
shapes,
|
||||
..
|
||||
viewports,
|
||||
viewport_commands: _, // TODO(emilk): handle some of the commands, like setting the title and icon
|
||||
} = full_output;
|
||||
|
||||
if viewports.len() > 1 {
|
||||
log::warn!("Multiple viewports not yet supported on the web");
|
||||
}
|
||||
|
||||
self.handle_platform_output(platform_output);
|
||||
self.textures_delta.append(textures_delta);
|
||||
let clipped_primitives = self.egui_ctx.tessellate(shapes);
|
||||
|
||||
Reference in New Issue
Block a user