mirror of
https://github.com/love2d/love.git
synced 2026-08-12 08:30:56 +02:00
vulkan: fix typo preventing storage textures in shaders from working.
This commit is contained in:
@@ -661,8 +661,8 @@ void Shader::compileShaders()
|
||||
for (const auto &r : shaderResources.storage_images)
|
||||
{
|
||||
std::string name = canonicaliizeUniformName(r.name);
|
||||
const auto &uniformit = reflection.storageBuffers.find(name);
|
||||
if (uniformit == reflection.storageBuffers.end())
|
||||
const auto &uniformit = reflection.storageTextures.find(name);
|
||||
if (uniformit == reflection.storageTextures.end())
|
||||
{
|
||||
handleUnknownUniformName(name.c_str());
|
||||
continue;
|
||||
|
||||
Reference in New Issue
Block a user