[ios, macos] Renamed overdraw to overdraw visualization (#5416)
A verb doesn’t make sense in this enum value. Instead, use a descriptive word for this effect and describe it in detail in the documentation comment.
Cherry-picked from 415c182946.
This commit is contained in:
@@ -2399,7 +2399,7 @@ public:
|
||||
mask |= MGLMapDebugCollisionBoxesMask;
|
||||
}
|
||||
if (options & mbgl::MapDebugOptions::Wireframe) {
|
||||
mask |= MGLMapDebugWireframesMask;
|
||||
mask |= MGLMapDebugOverdrawVisualizationMask;
|
||||
}
|
||||
if (options & mbgl::MapDebugOptions::StencilClip) {
|
||||
mask |= MGLMapDebugStencilBufferMask;
|
||||
@@ -2421,7 +2421,7 @@ public:
|
||||
if (debugMask & MGLMapDebugCollisionBoxesMask) {
|
||||
options |= mbgl::MapDebugOptions::Collision;
|
||||
}
|
||||
if (debugMask & MGLMapDebugWireframesMask) {
|
||||
if (debugMask & MGLMapDebugOverdrawVisualizationMask) {
|
||||
options |= mbgl::MapDebugOptions::Wireframe;
|
||||
}
|
||||
if (debugMask & MGLMapDebugStencilBufferMask) {
|
||||
|
||||
Reference in New Issue
Block a user