Sync llcommon with Alchemy a bit.
llmath::llround->ll_round LL_ICC->LL_INTELC Add llpredicate Add LL_CPP11 macro Remove llhash Update llinitparam, llsd and all relatives of it.
This commit is contained in:
@@ -292,7 +292,7 @@ void LLModalDialog::draw()
|
||||
void LLModalDialog::centerOnScreen()
|
||||
{
|
||||
LLVector2 window_size = LLUI::getWindowSize();
|
||||
centerWithin(LLRect(0, 0, llmath::llround(window_size.mV[VX]), llmath::llround(window_size.mV[VY])));
|
||||
centerWithin(LLRect(0, 0, ll_round(window_size.mV[VX]), ll_round(window_size.mV[VY])));
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user