fixed spelling of 'preferred'
Bug: skia:
Change-Id: I46f456925fa7bb10b87585f7e17f114c2db04d9b
Reviewed-on: https://skia-review.googlesource.com/156006
Reviewed-by: Robert Phillips <robertphillips@google.com>
Commit-Queue: Ethan Nicholas <ethannicholas@google.com>
diff --git a/src/gpu/vk/GrVkCaps.cpp b/src/gpu/vk/GrVkCaps.cpp
index 6435c14..2de784f 100644
--- a/src/gpu/vk/GrVkCaps.cpp
+++ b/src/gpu/vk/GrVkCaps.cpp
@@ -547,12 +547,12 @@
gD32S8 = { VK_FORMAT_D32_SFLOAT_S8_UINT, 8, 64, true };
if (stencil_format_supported(interface, physDev, VK_FORMAT_S8_UINT)) {
- fPreferedStencilFormat = gS8;
+ fPreferredStencilFormat = gS8;
} else if (stencil_format_supported(interface, physDev, VK_FORMAT_D24_UNORM_S8_UINT)) {
- fPreferedStencilFormat = gD24S8;
+ fPreferredStencilFormat = gD24S8;
} else {
SkASSERT(stencil_format_supported(interface, physDev, VK_FORMAT_D32_SFLOAT_S8_UINT));
- fPreferedStencilFormat = gD32S8;
+ fPreferredStencilFormat = gD32S8;
}
}