Index: src/gpu/vk/GrVkCaps.cpp |
diff --git a/src/gpu/vk/GrVkCaps.cpp b/src/gpu/vk/GrVkCaps.cpp |
index 9dbc40ce7fe5423f634ccc74bc1387cd6bc95ab5..eabd96b671fec637bccf564e830d1abad3ca4170 100644 |
--- a/src/gpu/vk/GrVkCaps.cpp |
+++ b/src/gpu/vk/GrVkCaps.cpp |
@@ -29,7 +29,7 @@ GrVkCaps::GrVkCaps(const GrContextOptions& contextOptions, const GrVkInterface* |
fUseDrawInsteadOfClear = false; //TODO: figure this out |
fMapBufferFlags = kNone_MapFlags; //TODO: figure this out |
- fGeometryBufferMapThreshold = SK_MaxS32; //TODO: figure this out |
+ fBufferMapThreshold = SK_MaxS32; //TODO: figure this out |
fMaxRenderTargetSize = 4096; // minimum required by spec |
fMaxTextureSize = 4096; // minimum required by spec |
@@ -111,7 +111,7 @@ void GrVkCaps::initGrCaps(const VkPhysicalDeviceProperties& properties, |
// Assuming since we will always map in the end to upload the data we might as well just map |
// from the get go. There is no hard data to suggest this is faster or slower. |
- fGeometryBufferMapThreshold = 0; |
+ fBufferMapThreshold = 0; |
fMapBufferFlags = kCanMap_MapFlag | kSubset_MapFlag; |