summaryrefslogtreecommitdiff
path: root/indra/newview/llhudeffectpointat.cpp
diff options
context:
space:
mode:
authorBrad Kittenbrink <brad@lindenlab.com>2008-02-27 18:58:14 +0000
committerBrad Kittenbrink <brad@lindenlab.com>2008-02-27 18:58:14 +0000
commit6d52efe452aa8469e0343da1c7d108f3f52ab651 (patch)
treea87be48e9840d7fc1f7ee514d7c7f994e71fdb3c /indra/newview/llhudeffectpointat.cpp
parent6027ad2630b8650cabcf00628ee9b0d25bedd67f (diff)
Merge of windlight into release (QAR-286). This includes all changes in
windlight14 which have passed QA (up through r79932). svn merge -r 80831:80833 svn+ssh://svn.lindenlab.com/svn/linden/branches/merge_windlight14_r80620
Diffstat (limited to 'indra/newview/llhudeffectpointat.cpp')
-rw-r--r--indra/newview/llhudeffectpointat.cpp19
1 files changed, 10 insertions, 9 deletions
diff --git a/indra/newview/llhudeffectpointat.cpp b/indra/newview/llhudeffectpointat.cpp
index fbb5ba5d62..2679ed5fbb 100644
--- a/indra/newview/llhudeffectpointat.cpp
+++ b/indra/newview/llhudeffectpointat.cpp
@@ -34,6 +34,7 @@
#include "llhudeffectpointat.h"
#include "llgl.h"
+#include "llglimmediate.h"
#include "llagent.h"
#include "lldrawable.h"
@@ -329,18 +330,18 @@ void LLHUDEffectPointAt::render()
glPushMatrix();
glTranslatef(target.mV[VX], target.mV[VY], target.mV[VZ]);
glScalef(0.3f, 0.3f, 0.3f);
- glBegin(GL_LINES);
+ gGL.begin(GL_LINES);
{
- glColor3f(1.f, 0.f, 0.f);
- glVertex3f(-1.f, 0.f, 0.f);
- glVertex3f(1.f, 0.f, 0.f);
+ gGL.color3f(1.f, 0.f, 0.f);
+ gGL.vertex3f(-1.f, 0.f, 0.f);
+ gGL.vertex3f(1.f, 0.f, 0.f);
- glVertex3f(0.f, -1.f, 0.f);
- glVertex3f(0.f, 1.f, 0.f);
+ gGL.vertex3f(0.f, -1.f, 0.f);
+ gGL.vertex3f(0.f, 1.f, 0.f);
- glVertex3f(0.f, 0.f, -1.f);
- glVertex3f(0.f, 0.f, 1.f);
- } glEnd();
+ gGL.vertex3f(0.f, 0.f, -1.f);
+ gGL.vertex3f(0.f, 0.f, 1.f);
+ } gGL.end();
glPopMatrix();
}
}