[core] s/Wireframe/Overdraw/g
This commit is contained in:
@@ -21,9 +21,8 @@ typedef NS_OPTIONS(NSUInteger, MGLMapDebugMaskOptions) {
|
||||
diagnose collision and label placement issues. */
|
||||
MGLMapDebugCollisionBoxesMask = 1 << 4,
|
||||
|
||||
/** Line widths, backgrounds, and fill colors are ignored to create a
|
||||
wireframe effect. */
|
||||
MGLMapDebugWireframesMask = 1 << 5,
|
||||
/** Overdraw inspector. */
|
||||
MGLMapDebugOverdrawsMask = 1 << 5,
|
||||
|
||||
/** The stencil buffer is shown instead of the color buffer. */
|
||||
MGLMapDebugStencilBufferMask = 1 << 6,
|
||||
|
||||
@@ -2398,8 +2398,8 @@ public:
|
||||
if (options & mbgl::MapDebugOptions::Collision) {
|
||||
mask |= MGLMapDebugCollisionBoxesMask;
|
||||
}
|
||||
if (options & mbgl::MapDebugOptions::Wireframe) {
|
||||
mask |= MGLMapDebugWireframesMask;
|
||||
if (options & mbgl::MapDebugOptions::Overdraw) {
|
||||
mask |= MGLMapDebugOverdrawsMask;
|
||||
}
|
||||
if (options & mbgl::MapDebugOptions::StencilClip) {
|
||||
mask |= MGLMapDebugStencilBufferMask;
|
||||
@@ -2421,8 +2421,8 @@ public:
|
||||
if (debugMask & MGLMapDebugCollisionBoxesMask) {
|
||||
options |= mbgl::MapDebugOptions::Collision;
|
||||
}
|
||||
if (debugMask & MGLMapDebugWireframesMask) {
|
||||
options |= mbgl::MapDebugOptions::Wireframe;
|
||||
if (debugMask & MGLMapDebugOverdrawsMask) {
|
||||
options |= mbgl::MapDebugOptions::Overdraw;
|
||||
}
|
||||
if (debugMask & MGLMapDebugStencilBufferMask) {
|
||||
options |= mbgl::MapDebugOptions::StencilClip;
|
||||
|
||||
Reference in New Issue
Block a user