summaryrefslogtreecommitdiff
path: root/gsk
diff options
context:
space:
mode:
authorLionel Landwerlin <lionel.g.landwerlin@intel.com>2017-09-20 18:41:09 +0100
committerMatthias Clasen <mclasen@redhat.com>2017-09-20 23:26:14 -0400
commit28bd26ca062de7642bac4e5247933aaf3073bf41 (patch)
treeebaa87a5450deb420e2a39de172322203ad03686 /gsk
parentb321b26a73aa8f74e48757222af16c8ba76d2d52 (diff)
downloadgtk+-28bd26ca062de7642bac4e5247933aaf3073bf41.tar.gz
gsk: vulkan: silence anisotropy validation warning
Diffstat (limited to 'gsk')
-rw-r--r--gsk/gskvulkanrenderer.c3
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);