diff options
author | Rye Mutt <rye@lindenlab.com> | 2024-10-01 11:52:05 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-01 11:52:05 -0400 |
commit | 56fbc6a87ff807fd2be3607cd2ca423030032c5b (patch) | |
tree | 04f08cc06a0a4135054015e40a7dbcae182a9f25 /indra/newview/llhudrender.cpp | |
parent | f3df004180ce9494d9d0e8b6d4841b226b2a3a53 (diff) | |
parent | 0e0b9eb3b397b213bc6f268eb1690c4794cf3ed3 (diff) |
Merge branch 'develop' into rye/continued-sdl-cleanup
Diffstat (limited to 'indra/newview/llhudrender.cpp')
-rw-r--r-- | indra/newview/llhudrender.cpp | 2 |
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); |