summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/video_core/renderer_vulkan/vk_sampler_cache.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/video_core/renderer_vulkan/vk_sampler_cache.cpp b/src/video_core/renderer_vulkan/vk_sampler_cache.cpp
index cbad25015..204b7c39c 100644
--- a/src/video_core/renderer_vulkan/vk_sampler_cache.cpp
+++ b/src/video_core/renderer_vulkan/vk_sampler_cache.cpp
@@ -31,15 +31,6 @@ static std::optional<vk::BorderColor> TryConvertBorderColor(std::array<float, 4>
return vk::BorderColor::eFloatOpaqueBlack;
}
return vk::BorderColor::eFloatTransparentBlack;
- // If color elements are brighter than roughly 0.5 average, use white border
- return vk::BorderColor::eFloatOpaqueWhite;
- } else {
- if (color[3] > 0.5f) {
- return vk::BorderColor::eFloatOpaqueBlack;
- } else {
- return vk::BorderColor::eFloatTransparentBlack;
- }
- }
}
}