diff options
author | Lionel Landwerlin <lionel.g.landwerlin@intel.com> | 2017-09-20 18:41:09 +0100 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2017-09-20 23:26:14 -0400 |
commit | 28bd26ca062de7642bac4e5247933aaf3073bf41 (patch) | |
tree | ebaa87a5450deb420e2a39de172322203ad03686 /gsk | |
parent | b321b26a73aa8f74e48757222af16c8ba76d2d52 (diff) | |
download | gtk+-28bd26ca062de7642bac4e5247933aaf3073bf41.tar.gz |
gsk: vulkan: silence anisotropy validation warning
Diffstat (limited to 'gsk')
-rw-r--r-- | gsk/gskvulkanrenderer.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gsk/gskvulkanrenderer.c b/gsk/gskvulkanrenderer.c index 2325887c84..055b6b98a8 100644 --- a/gsk/gskvulkanrenderer.c +++ b/gsk/gskvulkanrenderer.c @@ -124,7 +124,8 @@ gsk_vulkan_renderer_realize (GskRenderer *renderer, .addressModeV = VK_SAMPLER_ADDRESS_MODE_CLAMP_TO_BORDER, .addressModeW = VK_SAMPLER_ADDRESS_MODE_REPEAT, .borderColor = VK_BORDER_COLOR_FLOAT_TRANSPARENT_BLACK, - .unnormalizedCoordinates = VK_FALSE + .unnormalizedCoordinates = VK_FALSE, + .maxAnisotropy = 1.0, }, NULL, &self->sampler); |