Flip Y coordinates on textures on UIShader

This commit is contained in:
2023-12-14 11:20:14 -06:00
parent d2c057cd53
commit f180e81bc4
9 changed files with 120 additions and 44 deletions

View File

@ -11,7 +11,7 @@ void UILabel::getSelfQuads(const glm::vec2 t, UICanvas &ctx) {
std::vector<struct UIShaderQuad> quads;
if(this->texture == nullptr) return;
const std::wstring text = L"He";
const std::wstring text = L"Hello World";
glm::vec2 position = t;
glm::vec4 quad;