Skip to content

Commit

Permalink
Change texture sample mode to CLAMP_TO_EDGE
Browse files Browse the repository at this point in the history
Closes #162
  • Loading branch information
kanerogers committed May 17, 2024
1 parent 273a4a1 commit 7dec672
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/yakui-vulkan/src/vulkan_texture.rs
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ impl VulkanTexture {
memory: vk::DeviceMemory,
view: vk::ImageView,
) -> Self {
let address_mode = vk::SamplerAddressMode::REPEAT;
let address_mode = vk::SamplerAddressMode::CLAMP_TO_EDGE;
let filter = vk::Filter::LINEAR;
let sampler = unsafe {
vulkan_context
Expand Down

0 comments on commit 7dec672

Please sign in to comment.