Fixed copy/paste error

This commit is contained in:
Hai Nguyen 2021-12-01 12:32:02 -05:00
parent f66fb40149
commit 58fe3a02b8

View File

@ -368,7 +368,7 @@ GLSLANG_EXPORT void glslang_shader_set_options(glslang_shader_t* shader, int opt
shader->shader->setAutoMapLocations(true);
}
if (options & GLSLANG_SHADER_AUTO_MAP_LOCATIONS) {
if (options & GLSLANG_SHADER_VULKAN_RULES_RELAXED) {
shader->shader->setEnvInputVulkanRulesRelaxed();
}