Skip to content

Commit

Permalink
Fix web build
Browse files Browse the repository at this point in the history
  • Loading branch information
emilk committed Nov 15, 2023
1 parent 4930e7b commit 09b639e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions crates/eframe/src/web/app_runner.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 09b639e

Please sign in to comment.