aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/lltracker.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/newview/lltracker.cpp')
-rw-r--r--linden/indra/newview/lltracker.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/linden/indra/newview/lltracker.cpp b/linden/indra/newview/lltracker.cpp
index 9ff2e97..9e4bb09 100644
--- a/linden/indra/newview/lltracker.cpp
+++ b/linden/indra/newview/lltracker.cpp
@@ -444,7 +444,7 @@ void draw_shockwave(F32 center_z, F32 t, S32 steps, LLColor4 color)
444 F32 y = 0.f; 444 F32 y = 0.f;
445 445
446 LLColor4 ccol = LLColor4(1,1,1,(1.f-t)*0.25f); 446 LLColor4 ccol = LLColor4(1,1,1,(1.f-t)*0.25f);
447 gGL.begin(GL_TRIANGLE_FAN); 447 gGL.begin(LLVertexBuffer::TRIANGLE_FAN);
448 gGL.color4fv(ccol.mV); 448 gGL.color4fv(ccol.mV);
449 gGL.vertex3f(0.f, 0.f, center_z); 449 gGL.vertex3f(0.f, 0.f, center_z);
450 // make sure circle is complete 450 // make sure circle is complete
@@ -534,7 +534,7 @@ void LLTracker::renderBeacon(LLVector3d pos_global,
534 an *= 2.f; 534 an *= 2.f;
535 an += 1.0f+dr; 535 an += 1.0f+dr;
536 536
537 gGL.begin(GL_TRIANGLE_STRIP); 537 gGL.begin(LLVertexBuffer::TRIANGLE_STRIP);
538 gGL.color4fv(col_edge.mV); 538 gGL.color4fv(col_edge.mV);
539 gGL.vertex3f(-x*a, -y*a, z); 539 gGL.vertex3f(-x*a, -y*a, z);
540 gGL.color4fv(col_edge_next.mV); 540 gGL.color4fv(col_edge_next.mV);