summaryrefslogtreecommitdiff
path: root/indra/newview/llhudrender.cpp
diff options
context:
space:
mode:
authorRye Mutt <rye@lindenlab.com>2024-10-01 11:52:05 -0400
committerGitHub <noreply@github.com>2024-10-01 11:52:05 -0400
commit56fbc6a87ff807fd2be3607cd2ca423030032c5b (patch)
tree04f08cc06a0a4135054015e40a7dbcae182a9f25 /indra/newview/llhudrender.cpp
parentf3df004180ce9494d9d0e8b6d4841b226b2a3a53 (diff)
parent0e0b9eb3b397b213bc6f268eb1690c4794cf3ed3 (diff)
Merge branch 'develop' into rye/continued-sdl-cleanup
Diffstat (limited to 'indra/newview/llhudrender.cpp')
-rw-r--r--indra/newview/llhudrender.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llhudrender.cpp b/indra/newview/llhudrender.cpp
index aa440c6cf5..2255eb236f 100644
--- a/indra/newview/llhudrender.cpp
+++ b/indra/newview/llhudrender.cpp
@@ -109,7 +109,7 @@ void hud_render_text(const LLWString &wstr, const LLVector3 &pos_agent,
LLRect world_view_rect = gViewerWindow->getWorldViewRectRaw();
glm::ivec4 viewport(world_view_rect.mLeft, world_view_rect.mBottom, world_view_rect.getWidth(), world_view_rect.getHeight());
- glm::vec3 win_coord = glm::project(glm::make_vec3(render_pos.mV), get_current_modelview(), get_current_projection(), viewport);
+ glm::vec3 win_coord = glm::project(glm::make_vec3(LLVector4(render_pos).mV), get_current_modelview(), get_current_projection(), viewport);
//fonts all render orthographically, set up projection``
gGL.matrixMode(LLRender::MM_PROJECTION);