mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-09-21 20:06:40 +00:00
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:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user