Fixed scaling issues with non-power-of-two ui textures

This commit is contained in:
Shyotl
2011-03-31 21:53:23 -05:00
parent e756140e1d
commit 497e63bfb6
4 changed files with 8 additions and 13 deletions

View File

@@ -654,9 +654,8 @@ bool LLAppViewer::init()
&gColors,
LLUIImageList::getInstance(),
ui_audio_callback,
&LLUI::sGLScaleFactor,
std::string(),
LLViewerFetchedTexture::BOOST_ICON);
&LLUI::sGLScaleFactor
);
LLWeb::initClass(); // do this after LLUI
LLTextEditor::setURLCallbacks(&LLWeb::loadURL,

View File

@@ -2935,6 +2935,7 @@ void LLVOAvatar::idleUpdateMisc(bool detailed_update)
LLJoint::sNumTouches = 0;
/*// *NOTE: this is necessary for the floating name text above your head.
// NOTE NOTE: This doesn't seem to be needed any more?
if (mDrawable && mDrawable.notNull())
{
gPipeline.markRebuild(mDrawable, LLDrawable::REBUILD_SHADOW, TRUE);