Skip to content

Commit

Permalink
Ported deferred example and added window titles
Browse files Browse the repository at this point in the history
  • Loading branch information
Melchizedek6809 committed Mar 28, 2023
1 parent b4ed096 commit 23274f7
Show file tree
Hide file tree
Showing 14 changed files with 310 additions and 309 deletions.
2 changes: 2 additions & 0 deletions examples/blitting.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ struct Application {
}

impl ApplicationContext for Application {
const WINDOW_TITLE:&'static str = "Glium blitting example";

fn new(display: &Display<WindowSurface>) -> Self {
// building a texture with "OpenGL" drawn on it
let image = image::load(Cursor::new(&include_bytes!("../tests/fixture/opengl.png")[..]),
Expand Down
2 changes: 2 additions & 0 deletions examples/compute_image.rs
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ struct Application {
}

impl ApplicationContext for Application {
const WINDOW_TITLE:&'static str = "Glium compute_image example";

fn new(display: &Display<WindowSurface>) -> Self {
let start_time = Instant::now();

Expand Down

0 comments on commit 23274f7

Please sign in to comment.