Flip Y coordinates on textures on UIShader
This commit is contained in:
@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user