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:
@@ -688,7 +688,7 @@ void ShaderModelRenderer::Render(const RenderModifierPtr& modifier, const CShade
|
||||
CTexture* newTex = samp.Sampler.get();
|
||||
if (texBindings[s].Active() && newTex != currentTexs[s])
|
||||
{
|
||||
shader->BindTexture(texBindings[s], newTex->GetHandle());
|
||||
shader->BindTexture(texBindings[s], samp.Sampler);
|
||||
currentTexs[s] = newTex;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user