From be261cd0383382a799a164d35b50d46d6d930496 Mon Sep 17 00:00:00 2001 From: Atlante45 Date: Wed, 17 Jun 2015 18:05:23 +0200 Subject: [PATCH] Increase anti z-fighting value --- interface/src/avatar/Avatar.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interface/src/avatar/Avatar.cpp b/interface/src/avatar/Avatar.cpp index f5f2b3778f..550883b033 100644 --- a/interface/src/avatar/Avatar.cpp +++ b/interface/src/avatar/Avatar.cpp @@ -746,7 +746,7 @@ void Avatar::renderDisplayName(gpu::Batch& batch, const ViewFrustum& frustum) co const int text_y = -nameDynamicRect.height() / 2; // Compute background position/size - static const float SLIGHTLY_BEHIND = -0.001f; + static const float SLIGHTLY_BEHIND = -0.01f; const int border = 0.1f * nameDynamicRect.height(); const int left = text_x - border; const int bottom = text_y - border;