[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:
Minh Nguyễn
2016-06-22 23:22:41 -07:00
parent 3995d6ff68
commit f5f39c8b3a
9 changed files with 30 additions and 25 deletions

View File

@@ -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) {