Fix generic window parameter in example

Due to Rust issue [17567](https://github.com/rust-lang/rust/issues/17567) using a generic parameter like this can lead to a very confusing error message here, when one expands App by methods that do not take a Window implementation as a parameter.

Happened to me and I took a while to figure this out…