Skip to content

Commit

Permalink
Merge branch '0.5'
Browse files Browse the repository at this point in the history
  • Loading branch information
TheOnlyMrCat committed Feb 17, 2021
2 parents b936ac8 + f3243e7 commit e9b3967
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name = "polystrip"
description = "A 2D accelerated graphics rendering library"
keywords = ["gamedev", "graphics", "rendering"]
categories = ["game-development", "graphics", "rendering::engine"]
version = "0.5.0"
version = "0.5.1"
authors = ["TheOnlyMrCat <[email protected]>"]
repository = "https://github.com/TheOnlyMrCat/polystrip"
license = "MIT OR Apache-2.0"
Expand Down
4 changes: 2 additions & 2 deletions src/spirv/textured.vert
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ layout(location=1) out float frag_depth;

layout(push_constant)
uniform Transform {
mat3 o_transform;
mat4 o_transform;
};

void main() {
gl_Position = vec4(o_transform * vec3(in_position.x, FLIP_Y ? -in_position.y : in_position.y, 0.0), 1.0);
gl_Position = o_transform * vec4(in_position.x, FLIP_Y ? -in_position.y : in_position.y, 0.0, 1.0);
frag_texture_coords = in_texture_coords;
frag_depth = in_position.z;
}

0 comments on commit e9b3967

Please sign in to comment.