Skip to content

Commit

Permalink
#3364 Do not reallocate texture update list all the time
Browse files Browse the repository at this point in the history
  • Loading branch information
akleshchev committed Jan 9, 2025
1 parent fd071ce commit d748479
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion indra/newview/llviewertexturelist.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1187,7 +1187,8 @@ F32 LLViewerTextureList::updateImagesFetchTextures(F32 max_time)
LL_PROFILE_ZONE_SCOPED_CATEGORY_TEXTURE;

typedef std::vector<LLPointer<LLViewerFetchedTexture> > entries_list_t;
entries_list_t entries;
static thread_local entries_list_t entries;
entries.clear();

// update N textures at beginning of mImageList
U32 update_count = 0;
Expand Down

0 comments on commit d748479

Please sign in to comment.