graphics: bind internal depth-compare textures to unbound sampler2DShadow vars.

This commit is contained in:
Sasha Szpakowski
2024-05-03 20:56:13 -03:00
parent a894c2f6a4
commit 03f364e131
6 changed files with 34 additions and 14 deletions
+1 -1
View File
@@ -743,7 +743,7 @@ void Shader::sendTextures(const UniformInfo *info, love::graphics::Texture **tex
else
{
auto gfx = Graphics::getInstance();
tex = gfx->getDefaultTexture(info->textureType, info->dataBaseType);
tex = gfx->getDefaultTexture(info->textureType, info->dataBaseType, info->isDepthSampler);
}
tex->retain();