Skip to content

Commit

Permalink
fix incorrect (nullptr) texture call in water blend
Browse files Browse the repository at this point in the history
  • Loading branch information
beqjanus committed Feb 23, 2025
1 parent 1a3d06c commit c5a27e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion indra/newview/lldrawpoolwater.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ void LLDrawPoolWater::renderPostDeferred(S32 pass)
else if (tex_b && !tex_a)
{
shader->bindTexture(LLViewerShaderMgr::BUMP_MAP, tex_b);
tex_a->setFilteringOption(filter_mode);
tex_b->setFilteringOption(filter_mode);
blend_factor = 0; // only one tex provided, no blending
}
else if (tex_b != tex_a)
Expand Down

0 comments on commit c5a27e2

Please sign in to comment.