diff options
author | James Cook <james@lindenlab.com> | 2009-11-10 14:36:25 -0800 |
---|---|---|
committer | James Cook <james@lindenlab.com> | 2009-11-10 14:36:25 -0800 |
commit | bc4b49735cf5d162a43d0c8fa880e6e9fd828e4a (patch) | |
tree | 0067e7ccc8c9a245245a0369b9c5cf81ad9983c7 /indra/newview/llface.cpp | |
parent | 77f982c1a9a8f5b30e8b369da6f7208c171700b1 (diff) | |
parent | 0f6242d9fd948cda1abf18885eef320b22d310c5 (diff) |
merge
Diffstat (limited to 'indra/newview/llface.cpp')
-rw-r--r-- | indra/newview/llface.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llface.cpp b/indra/newview/llface.cpp index c54b83d865..31f1462a12 100644 --- a/indra/newview/llface.cpp +++ b/indra/newview/llface.cpp @@ -1403,7 +1403,7 @@ F32 LLFace::calcPixelArea(F32& cos_angle_to_view_dir, F32& radius) //the projection of the face partially overlaps with the screen F32 LLFace::adjustPartialOverlapPixelArea(F32 cos_angle_to_view_dir, F32 radius ) { - F32 screen_radius = (F32)llmax(gViewerWindow->getWindowDisplayWidth(), gViewerWindow->getWindowDisplayHeight()) ; + F32 screen_radius = (F32)llmax(gViewerWindow->getWindowWidthRaw(), gViewerWindow->getWindowHeightRaw()) ; F32 center_angle = acosf(cos_angle_to_view_dir) ; F32 d = center_angle * LLDrawable::sCurPixelAngle ; |