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.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/linden/indra/newview/lltracker.cpp b/linden/indra/newview/lltracker.cpp
index 8572283..bd2f659 100644
--- a/linden/indra/newview/lltracker.cpp
+++ b/linden/indra/newview/lltracker.cpp
@@ -4,7 +4,7 @@
4 * 4 *
5 * $LicenseInfo:firstyear=2003&license=viewergpl$ 5 * $LicenseInfo:firstyear=2003&license=viewergpl$
6 * 6 *
7 * Copyright (c) 2003-2008, Linden Research, Inc. 7 * Copyright (c) 2003-2009, Linden Research, Inc.
8 * 8 *
9 * Second Life Viewer Source Code 9 * Second Life Viewer Source Code
10 * The source code in this file ("Source Code") is provided by Linden Lab 10 * The source code in this file ("Source Code") is provided by Linden Lab
@@ -445,7 +445,7 @@ void draw_shockwave(F32 center_z, F32 t, S32 steps, LLColor4 color)
445 F32 y = 0.f; 445 F32 y = 0.f;
446 446
447 LLColor4 ccol = LLColor4(1,1,1,(1.f-t)*0.25f); 447 LLColor4 ccol = LLColor4(1,1,1,(1.f-t)*0.25f);
448 gGL.begin(LLVertexBuffer::TRIANGLE_FAN); 448 gGL.begin(LLRender::TRIANGLE_FAN);
449 gGL.color4fv(ccol.mV); 449 gGL.color4fv(ccol.mV);
450 gGL.vertex3f(0.f, 0.f, center_z); 450 gGL.vertex3f(0.f, 0.f, center_z);
451 // make sure circle is complete 451 // make sure circle is complete
@@ -494,7 +494,8 @@ void LLTracker::renderBeacon(LLVector3d pos_global,
494 494
495 LLVector3 pos_agent = gAgent.getPosAgentFromGlobal(pos_global); 495 LLVector3 pos_agent = gAgent.getPosAgentFromGlobal(pos_global);
496 496
497 LLGLSTracker gls_tracker; // default - TEXTURE + CULL_FACE + LIGHTING + GL_BLEND + GL_ALPHA_TEST 497 LLGLSTracker gls_tracker; // default+ CULL_FACE + LIGHTING + GL_BLEND + GL_ALPHA_TEST
498 gGL.getTexUnit(0)->unbind(LLTexUnit::TT_TEXTURE);
498 LLGLDisable cull_face(GL_CULL_FACE); 499 LLGLDisable cull_face(GL_CULL_FACE);
499 LLGLDepthTest gls_depth(GL_TRUE, GL_FALSE); 500 LLGLDepthTest gls_depth(GL_TRUE, GL_FALSE);
500 501
@@ -535,7 +536,7 @@ void LLTracker::renderBeacon(LLVector3d pos_global,
535 an *= 2.f; 536 an *= 2.f;
536 an += 1.0f+dr; 537 an += 1.0f+dr;
537 538
538 gGL.begin(LLVertexBuffer::TRIANGLE_STRIP); 539 gGL.begin(LLRender::TRIANGLE_STRIP);
539 gGL.color4fv(col_edge.mV); 540 gGL.color4fv(col_edge.mV);
540 gGL.vertex3f(-x*a, -y*a, z); 541 gGL.vertex3f(-x*a, -y*a, z);
541 gGL.color4fv(col_edge_next.mV); 542 gGL.color4fv(col_edge_next.mV);