Skip to content

Commit

Permalink
gfx-hal updated, non-normalized coordinates
Browse files Browse the repository at this point in the history
  • Loading branch information
kvark committed Jul 19, 2019
1 parent 1c822e9 commit 418dbd6
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 16 deletions.
43 changes: 27 additions & 16 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions libportability-gfx/src/impls.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2605,6 +2605,7 @@ pub extern "C" fn gfxCreateSampler(
None
},
border: [0.0; 4].into(), // TODO
normalized: info.unnormalizedCoordinates == VK_FALSE,
anisotropic: if info.anisotropyEnable == VK_TRUE {
hal::image::Anisotropic::On(info.maxAnisotropy as _)
} else {
Expand Down

0 comments on commit 418dbd6

Please sign in to comment.