MAINT-6317 Restored the fix after a conflict resolution
parent
c50f96b492
commit
602c9bc04a
|
|
@ -191,6 +191,13 @@ void LLViewerTextureList::doPreloadImages()
|
|||
image->setAddressMode(LLTexUnit::TAM_CLAMP);
|
||||
mImagePreloads.insert(image);
|
||||
}
|
||||
|
||||
LLPointer<LLImageRaw> img_blak_square_tex(new LLImageRaw(2, 2, 3));
|
||||
memset(img_blak_square_tex->getData(), 0, img_blak_square_tex->getDataSize());
|
||||
LLPointer<LLViewerFetchedTexture> img_blak_square(new LLViewerFetchedTexture(img_blak_square_tex, FTT_DEFAULT, FALSE));
|
||||
gBlackSquareID = img_blak_square->getID();
|
||||
img_blak_square->setUnremovable(TRUE);
|
||||
addImage(img_blak_square, TEX_LIST_STANDARD);
|
||||
}
|
||||
|
||||
static std::string get_texture_list_name()
|
||||
|
|
|
|||
Loading…
Reference in New Issue