mirror of
https://github.com/love2d/love.git
synced 2026-08-18 19:54:22 +02:00
graphics: bind internal depth-compare textures to unbound sampler2DShadow vars.
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user