Removes Handle from ShaderProgram to use more high-level objects.

Tested By: Stan
Differential Revision: https://code.wildfiregames.com/D4403
This was SVN commit r26138.
This commit is contained in:
vladislavbelov
2021-12-29 07:07:08 +00:00
parent b9e4c14083
commit 92cf0c784c
6 changed files with 28 additions and 44 deletions
+2 -2
View File
@@ -551,8 +551,8 @@ void OverlayRenderer::RenderQuadOverlays()
const QuadBatchKey& maskPair = it->first;
shader->BindTexture(str_baseTex, maskPair.m_Texture->GetHandle());
shader->BindTexture(str_maskTex, maskPair.m_TextureMask->GetHandle());
shader->BindTexture(str_baseTex, maskPair.m_Texture);
shader->BindTexture(str_maskTex, maskPair.m_TextureMask);
int streamflags = shader->GetStreamFlags();