examples: Fix some typos

This commit is contained in:
Marijn Suijten 2021-04-10 13:42:04 +02:00
parent 1a7972246c
commit d8cd01027e
28 changed files with 54 additions and 54 deletions

View file

@ -176,7 +176,7 @@ fn example_main() {
} }
fn main() { fn main() {
// tutorials_common::run is only required to set up the application environent on macOS // tutorials_common::run is only required to set up the application environment on macOS
// (but not necessary in normal Cocoa applications where this is set up autmatically) // (but not necessary in normal Cocoa applications where this is set up automatically)
examples_common::run(example_main); examples_common::run(example_main);
} }

View file

@ -185,7 +185,7 @@ fn example_main() {
} }
fn main() { fn main() {
// tutorials_common::run is only required to set up the application environent on macOS // tutorials_common::run is only required to set up the application environment on macOS
// (but not necessary in normal Cocoa applications where this is set up autmatically) // (but not necessary in normal Cocoa applications where this is set up automatically)
examples_common::run(example_main); examples_common::run(example_main);
} }

View file

@ -180,7 +180,7 @@ fn example_main() {
} }
fn main() { fn main() {
// tutorials_common::run is only required to set up the application environent on macOS // tutorials_common::run is only required to set up the application environment on macOS
// (but not necessary in normal Cocoa applications where this is set up autmatically) // (but not necessary in normal Cocoa applications where this is set up automatically)
examples_common::run(example_main); examples_common::run(example_main);
} }

View file

@ -288,7 +288,7 @@ fn example_main() {
} }
fn main() { fn main() {
// tutorials_common::run is only required to set up the application environent on macOS // tutorials_common::run is only required to set up the application environment on macOS
// (but not necessary in normal Cocoa applications where this is set up automatically). // (but not necessary in normal Cocoa applications where this is set up automatically).
examples_common::run(example_main); examples_common::run(example_main);
} }

View file

@ -80,7 +80,7 @@ fn example_main() {
} }
fn main() { fn main() {
// tutorials_common::run is only required to set up the application environent on macOS // tutorials_common::run is only required to set up the application environment on macOS
// (but not necessary in normal Cocoa applications where this is set up autmatically) // (but not necessary in normal Cocoa applications where this is set up automatically)
examples_common::run(example_main); examples_common::run(example_main);
} }

View file

@ -303,8 +303,8 @@ fn example_main() -> Result<(), Error> {
} }
fn main() { fn main() {
// tutorials_common::run is only required to set up the application environent on macOS // tutorials_common::run is only required to set up the application environment on macOS
// (but not necessary in normal Cocoa applications where this is set up autmatically) // (but not necessary in normal Cocoa applications where this is set up automatically)
match examples_common::run(example_main) { match examples_common::run(example_main) {
Ok(r) => r, Ok(r) => r,
Err(e) => eprintln!("Error! {}", e), Err(e) => eprintln!("Error! {}", e),

View file

@ -99,7 +99,7 @@ fn example_main() {
} }
fn main() { fn main() {
// tutorials_common::run is only required to set up the application environent on macOS // tutorials_common::run is only required to set up the application environment on macOS
// (but not necessary in normal Cocoa applications where this is set up autmatically) // (but not necessary in normal Cocoa applications where this is set up automatically)
examples_common::run(example_main); examples_common::run(example_main);
} }

View file

@ -332,8 +332,8 @@ fn example_main() -> Result<(), Error> {
} }
fn main() { fn main() {
// tutorials_common::run is only required to set up the application environent on macOS // tutorials_common::run is only required to set up the application environment on macOS
// (but not necessary in normal Cocoa applications where this is set up autmatically) // (but not necessary in normal Cocoa applications where this is set up automatically)
match examples_common::run(example_main) { match examples_common::run(example_main) {
Ok(r) => r, Ok(r) => r,
Err(e) => eprintln!("Error! {}", e), Err(e) => eprintln!("Error! {}", e),

View file

@ -131,7 +131,7 @@ fn example_main() {
} }
fn main() { fn main() {
// tutorials_common::run is only required to set up the application environent on macOS // tutorials_common::run is only required to set up the application environment on macOS
// (but not necessary in normal Cocoa applications where this is set up autmatically) // (but not necessary in normal Cocoa applications where this is set up automatically)
examples_common::run(example_main); examples_common::run(example_main);
} }

View file

@ -63,7 +63,7 @@ fn example_main() {
} }
fn main() { fn main() {
// tutorials_common::run is only required to set up the application environent on macOS // tutorials_common::run is only required to set up the application environment on macOS
// (but not necessary in normal Cocoa applications where this is set up autmatically) // (but not necessary in normal Cocoa applications where this is set up automatically)
examples_common::run(example_main); examples_common::run(example_main);
} }

View file

@ -139,7 +139,7 @@ fn example_main() {
} }
fn main() { fn main() {
// tutorials_common::run is only required to set up the application environent on macOS // tutorials_common::run is only required to set up the application environment on macOS
// (but not necessary in normal Cocoa applications where this is set up autmatically) // (but not necessary in normal Cocoa applications where this is set up automatically)
examples_common::run(example_main); examples_common::run(example_main);
} }

View file

@ -66,7 +66,7 @@ fn example_main() {
} }
fn main() { fn main() {
// tutorials_common::run is only required to set up the application environent on macOS // tutorials_common::run is only required to set up the application environment on macOS
// (but not necessary in normal Cocoa applications where this is set up autmatically) // (but not necessary in normal Cocoa applications where this is set up automatically)
examples_common::run(example_main); examples_common::run(example_main);
} }

View file

@ -1,4 +1,4 @@
// This example demostrates how to output GL textures, within an // This example demonstrates how to output GL textures, within an
// EGL/X11 context provided by the application, and render those // EGL/X11 context provided by the application, and render those
// textures in the GL application. // textures in the GL application.

View file

@ -45,7 +45,7 @@ fn example_main() {
} }
fn main() { fn main() {
// tutorials_common::run is only required to set up the application environent on macOS // tutorials_common::run is only required to set up the application environment on macOS
// (but not necessary in normal Cocoa applications where this is set up autmatically) // (but not necessary in normal Cocoa applications where this is set up automatically)
examples_common::run(example_main); examples_common::run(example_main);
} }

View file

@ -70,7 +70,7 @@ fn example_main() {
} }
fn main() { fn main() {
// tutorials_common::run is only required to set up the application environent on macOS // tutorials_common::run is only required to set up the application environment on macOS
// (but not necessary in normal Cocoa applications where this is set up autmatically) // (but not necessary in normal Cocoa applications where this is set up automatically)
examples_common::run(example_main); examples_common::run(example_main);
} }

View file

@ -70,7 +70,7 @@ fn example_main() {
} }
fn main() { fn main() {
// tutorials_common::run is only required to set up the application environent on macOS // tutorials_common::run is only required to set up the application environment on macOS
// (but not necessary in normal Cocoa applications where this is set up autmatically) // (but not necessary in normal Cocoa applications where this is set up automatically)
examples_common::run(example_main); examples_common::run(example_main);
} }

View file

@ -331,7 +331,7 @@ fn example_main() {
} }
fn main() { fn main() {
// tutorials_common::run is only required to set up the application environent on macOS // tutorials_common::run is only required to set up the application environment on macOS
// (but not necessary in normal Cocoa applications where this is set up autmatically) // (but not necessary in normal Cocoa applications where this is set up automatically)
examples_common::run(example_main); examples_common::run(example_main);
} }

View file

@ -101,7 +101,7 @@ fn example_main() {
} }
fn main() { fn main() {
// tutorials_common::run is only required to set up the application environent on macOS // tutorials_common::run is only required to set up the application environment on macOS
// (but not necessary in normal Cocoa applications where this is set up autmatically) // (but not necessary in normal Cocoa applications where this is set up automatically)
examples_common::run(example_main); examples_common::run(example_main);
} }

View file

@ -262,7 +262,7 @@ fn example_main() {
} }
fn main() { fn main() {
// tutorials_common::run is only required to set up the application environent on macOS // tutorials_common::run is only required to set up the application environment on macOS
// (but not necessary in normal Cocoa applications where this is set up autmatically) // (but not necessary in normal Cocoa applications where this is set up automatically)
examples_common::run(example_main); examples_common::run(example_main);
} }

View file

@ -146,7 +146,7 @@ fn example_main() {
} }
fn main() { fn main() {
// tutorials_common::run is only required to set up the application environent on macOS // tutorials_common::run is only required to set up the application environment on macOS
// (but not necessary in normal Cocoa applications where this is set up autmatically) // (but not necessary in normal Cocoa applications where this is set up automatically)
examples_common::run(example_main); examples_common::run(example_main);
} }

View file

@ -80,7 +80,7 @@ fn example_main() {
} }
fn main() { fn main() {
// tutorials_common::run is only required to set up the application environent on macOS // tutorials_common::run is only required to set up the application environment on macOS
// (but not necessary in normal Cocoa applications where this is set up autmatically) // (but not necessary in normal Cocoa applications where this is set up automatically)
examples_common::run(example_main); examples_common::run(example_main);
} }

View file

@ -128,7 +128,7 @@ fn example_main() {
} }
fn main() { fn main() {
// tutorials_common::run is only required to set up the application environent on macOS // tutorials_common::run is only required to set up the application environment on macOS
// (but not necessary in normal Cocoa applications where this is set up autmatically) // (but not necessary in normal Cocoa applications where this is set up automatically)
examples_common::run(example_main); examples_common::run(example_main);
} }

View file

@ -351,7 +351,7 @@ fn example_main() {
} }
fn main() { fn main() {
// tutorials_common::run is only required to set up the application environent on macOS // tutorials_common::run is only required to set up the application environment on macOS
// (but not necessary in normal Cocoa applications where this is set up autmatically) // (but not necessary in normal Cocoa applications where this is set up automatically)
examples_common::run(example_main); examples_common::run(example_main);
} }

View file

@ -113,8 +113,8 @@ fn example_main() -> Result<(), Error> {
} }
fn main() { fn main() {
// tutorials_common::run is only required to set up the application environent on macOS // tutorials_common::run is only required to set up the application environment on macOS
// (but not necessary in normal Cocoa applications where this is set up autmatically) // (but not necessary in normal Cocoa applications where this is set up automatically)
match examples_common::run(example_main) { match examples_common::run(example_main) {
Ok(r) => r, Ok(r) => r,
Err(e) => eprintln!("Error! {}", e), Err(e) => eprintln!("Error! {}", e),

View file

@ -240,7 +240,7 @@ fn example_main() {
} }
fn main() { fn main() {
// tutorials_common::run is only required to set up the application environent on macOS // tutorials_common::run is only required to set up the application environment on macOS
// (but not necessary in normal Cocoa applications where this is set up autmatically) // (but not necessary in normal Cocoa applications where this is set up automatically)
examples_common::run(example_main); examples_common::run(example_main);
} }

View file

@ -164,7 +164,7 @@ fn example_main() {
} }
fn main() { fn main() {
// tutorials_common::run is only required to set up the application environent on macOS // tutorials_common::run is only required to set up the application environment on macOS
// (but not necessary in normal Cocoa applications where this is set up autmatically) // (but not necessary in normal Cocoa applications where this is set up automatically)
examples_common::run(example_main); examples_common::run(example_main);
} }

View file

@ -231,8 +231,8 @@ fn handle_demux_pad_added(
} }
fn main() { fn main() {
// tutorials_common::run is only required to set up the application environent on macOS // tutorials_common::run is only required to set up the application environment on macOS
// (but not necessary in normal Cocoa applications where this is set up autmatically) // (but not necessary in normal Cocoa applications where this is set up automatically)
match examples_common::run(example_main) { match examples_common::run(example_main) {
Ok(r) => r, Ok(r) => r,
Err(e) => eprintln!("Error! {}", e), Err(e) => eprintln!("Error! {}", e),

View file

@ -80,7 +80,7 @@ fn example_main() {
} }
fn main() { fn main() {
// tutorials_common::run is only required to set up the application environent on macOS // tutorials_common::run is only required to set up the application environment on macOS
// (but not necessary in normal Cocoa applications where this is set up autmatically) // (but not necessary in normal Cocoa applications where this is set up automatically)
examples_common::run(example_main); examples_common::run(example_main);
} }