diff options
| author | Dave Parks <davep@lindenlab.com> | 2010-08-31 16:37:40 -0500 |
|---|---|---|
| committer | Dave Parks <davep@lindenlab.com> | 2010-08-31 16:37:40 -0500 |
| commit | e68f9e566b5aeb5341f5adea0b8a6ccde86ee93d (patch) | |
| tree | 6454bf6b303d03f89e567a6ea9cfee7c85aaa1ac /indra/newview/llviewermedia.cpp | |
| parent | 3cabca8df62ae8ee815dd7d885f14f5a7d0ea98d (diff) | |
| parent | 771195865c4fb336f573025e9a7a22313bfb6cb8 (diff) | |
merge
Diffstat (limited to 'indra/newview/llviewermedia.cpp')
| -rw-r--r-- | indra/newview/llviewermedia.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llviewermedia.cpp b/indra/newview/llviewermedia.cpp index 283669aaef..776635c475 100644 --- a/indra/newview/llviewermedia.cpp +++ b/indra/newview/llviewermedia.cpp @@ -859,7 +859,7 @@ void LLViewerMedia::updateMedia(void *dummy_arg) // Set the low priority size for downsampling to approximately the size the texture is displayed at. { - F32 approximate_interest_dimension = fsqrtf(pimpl->getInterest()); + F32 approximate_interest_dimension = (F32) sqrt(pimpl->getInterest()); pimpl->setLowPrioritySizeLimit(llround(approximate_interest_dimension)); } |
