Merge branch 'FMODStudio'
Conflicts: indra/cmake/PNG.cmake indra/newview/llnetmap.cpp indra/newview/llviewermessage.cpp PARAMETERS: CLEAN
This commit is contained in:
@@ -941,7 +941,7 @@ void LLViewerMedia::updateMedia(void *dummy_arg)
|
||||
{
|
||||
F32 approximate_interest_dimension = (F32) sqrt(pimpl->getInterest());
|
||||
|
||||
pimpl->setLowPrioritySizeLimit(llround(approximate_interest_dimension));
|
||||
pimpl->setLowPrioritySizeLimit(llmath::llround(approximate_interest_dimension));
|
||||
}
|
||||
}
|
||||
else
|
||||
@@ -2367,8 +2367,8 @@ void LLViewerMediaImpl::scaleTextureCoords(const LLVector2& texture_coords, S32
|
||||
texture_y = 1.0 + texture_y;
|
||||
|
||||
// scale x and y to texel units.
|
||||
*x = llround(texture_x * plugin->getTextureWidth());
|
||||
*y = llround((1.0f - texture_y) * plugin->getTextureHeight());
|
||||
*x = llmath::llround(texture_x * plugin->getTextureWidth());
|
||||
*y = llmath::llround((1.0f - texture_y) * plugin->getTextureHeight());
|
||||
|
||||
// Adjust for the difference between the actual texture height and the amount of the texture in use.
|
||||
*y -= (plugin->getTextureHeight() - plugin->getHeight());
|
||||
|
||||
Reference in New Issue
Block a user