Fix typo
This commit is contained in:
parent
cc7dea2093
commit
ec93c8e7d9
1 changed files with 1 additions and 1 deletions
|
|
@ -93,7 +93,7 @@ void VkShaderManager::Deinit()
|
|||
|
||||
VkShaderProgram* VkShaderManager::Get(const VkShaderKey& key, bool isUberShader)
|
||||
{
|
||||
VkShaderProgram& program = isUberShader ? specialized[key] : generic[key.Layout.AsDWORD];
|
||||
VkShaderProgram& program = isUberShader ? generic[key.Layout.AsDWORD] : specialized[key];
|
||||
if (program.frag)
|
||||
return &program;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue