Index: src/gpu/vk/GrVkCaps.cpp |
diff --git a/src/gpu/vk/GrVkCaps.cpp b/src/gpu/vk/GrVkCaps.cpp |
index 3348916d25f4fb72a24c5566ad6fd62a486b2609..1d735aa8d6a6792f23ccb232f78169a7feaa6264 100644 |
--- a/src/gpu/vk/GrVkCaps.cpp |
+++ b/src/gpu/vk/GrVkCaps.cpp |
@@ -17,6 +17,7 @@ GrVkCaps::GrVkCaps(const GrContextOptions& contextOptions, const GrVkInterface* |
: INHERITED(contextOptions) { |
fCanUseGLSLForShaderModule = false; |
fMustDoCopiesFromOrigin = false; |
+ fAllowInitializationErrorOnTearDown = false; |
/************************************************************************** |
* GrDrawTargetCaps fields |
@@ -69,6 +70,7 @@ void GrVkCaps::init(const GrContextOptions& contextOptions, const GrVkInterface* |
if (kQualcomm_VkVendor == properties.vendorID) { |
fMustDoCopiesFromOrigin = true; |
+ fAllowInitializationErrorOnTearDown = true; |
} |
this->applyOptionsOverrides(contextOptions); |