aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/lltracker.cpp
diff options
context:
space:
mode:
authorJacek Antonelli2008-12-01 17:39:58 -0600
committerJacek Antonelli2008-12-01 17:40:06 -0600
commit7abecb48babe6a6f09bf6692ba55076546cfced9 (patch)
tree8d18a88513fb97adf32c10aae78f4be1984942db /linden/indra/newview/lltracker.cpp
parentSecond Life viewer sources 1.21.6 (diff)
downloadmeta-impy-7abecb48babe6a6f09bf6692ba55076546cfced9.zip
meta-impy-7abecb48babe6a6f09bf6692ba55076546cfced9.tar.gz
meta-impy-7abecb48babe6a6f09bf6692ba55076546cfced9.tar.bz2
meta-impy-7abecb48babe6a6f09bf6692ba55076546cfced9.tar.xz
Second Life viewer sources 1.22.0-RC
Diffstat (limited to 'linden/indra/newview/lltracker.cpp')
-rw-r--r--linden/indra/newview/lltracker.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/linden/indra/newview/lltracker.cpp b/linden/indra/newview/lltracker.cpp
index 8572283..82e6bf2 100644
--- a/linden/indra/newview/lltracker.cpp
+++ b/linden/indra/newview/lltracker.cpp
@@ -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);