Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#3210 Fix for "Texture will be downscaled" log message happening too often #3534

Closed

Conversation

maxim-productengine
Copy link
Contributor

No description provided.

LL_WARNS_ONCE("Texture") << "Texture will be downscaled immediately after loading." << LL_ENDL;
// when discard level 6 is requested, it's expected to downscale textures this way, so skip the warning
// consider removing this check, if MAX_DISCARD_LEVEL is raised from 5 to 6
if ((imagep->getDesiredDiscardLevel() <= MAX_DISCARD_LEVEL))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

    else if(mDesiredDiscardLevel > getMaxDiscardLevel())
    {
        LL_PROFILE_ZONE_NAMED_CATEGORY_TEXTURE("vftuf - desired > max");
        make_request = false;
    }

Suggestion: do not downscale this at all.

@github-actions github-actions bot locked and limited conversation to collaborators Feb 12, 2025
@maxim-productengine maxim-productengine deleted the maxim/ForeverFPS-3210 branch February 12, 2025 15:09
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants