Skip to content

Commit

Permalink
Fix texture source not correctly being used
Browse files Browse the repository at this point in the history
  • Loading branch information
Layl Conway committed Jul 7, 2015
1 parent 645ab6b commit 3f93439
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "jamkit"
version = "0.1.2"
version = "0.1.3"
description = "A small game development library."
authors = ["Layl Conway"]
license = "Apache-2.0"
Expand Down
2 changes: 1 addition & 1 deletion src/frame.rs
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ impl<'a> Frame<'a> {

vertices.push(Vertex {position: [dest[2], dest[3]], tex_coords: [src[2], src[1]]});
vertices.push(Vertex {position: [dest[2], dest[1]], tex_coords: [src[2], src[3]]});
vertices.push(Vertex {position: [dest[0], dest[3]], tex_coords: [src[1], src[1]]});
vertices.push(Vertex {position: [dest[0], dest[3]], tex_coords: [src[0], src[1]]});
}

let vertex_buffer = glium::VertexBuffer::dynamic(self.graphics.glium_display(), vertices);
Expand Down

0 comments on commit 3f93439

Please sign in to comment.