fix bad invert Y option
This commit is contained in:
parent
aeee736b0f
commit
e9f840ca11
1 changed files with 2 additions and 1 deletions
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue