fix bad invert Y option

This commit is contained in:
Kai Angulo 2024-10-24 21:36:41 -07:00
parent aeee736b0f
commit e9f840ca11

View file

@ -355,7 +355,8 @@ GLSLANG_EXPORT glslang_shader_t* glslang_shader_create(const glslang_input_t* in
shader->shader->setSourceEntryPoint(input->source_entrypoint); shader->shader->setSourceEntryPoint(input->source_entrypoint);
} }
shader->shader->setInvertY(input->invert_y); if (input->invert_y)
shader->shader->setInvertY(true);
return shader; return shader;
} }