diff options
author | Graham Linden <graham@lindenlab.com> | 2019-03-05 09:35:04 -0800 |
---|---|---|
committer | Graham Linden <graham@lindenlab.com> | 2019-03-05 09:35:04 -0800 |
commit | 3396b728d2167c41a6ce4a6ba9dfa1fc13db2333 (patch) | |
tree | 90aa6bc40ab52181979efd5ed5f19d75da3063eb /indra/newview/lldrawpoolalpha.h | |
parent | f3303654a5ded57fab73e8303a508ecf13cf4651 (diff) |
Don't rebuild reflection when only edge water patches are in play.
Use (Restore)TexSetup for tex binding (should be equivalent now).
Simplify uniform management in alpha drawpool loop.
Fix wrong modelview mat being used for distortion map gen.
Diffstat (limited to 'indra/newview/lldrawpoolalpha.h')
-rw-r--r-- | indra/newview/lldrawpoolalpha.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/indra/newview/lldrawpoolalpha.h b/indra/newview/lldrawpoolalpha.h index e0e7b19a17..200e7f45b9 100644 --- a/indra/newview/lldrawpoolalpha.h +++ b/indra/newview/lldrawpoolalpha.h @@ -80,6 +80,9 @@ private: void renderMaterials(U32 mask, std::vector<LLDrawInfo*>& fullbrights); void renderEmissives(U32 mask, std::vector<LLDrawInfo*>& emissives); + bool TexSetup(LLDrawInfo* draw, bool use_shaders, bool use_material, LLGLSLShader* current_shader); + void RestoreTexSetup(bool tex_setup); + // our 'normal' alpha blend function for this pass LLRender::eBlendFactor mColorSFactor; LLRender::eBlendFactor mColorDFactor; |