Flip Y coordinates on textures on UIShader

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

View File

@ -66,7 +66,7 @@ void UICanvas::addQuad(
const struct Color color,
const std::shared_ptr<Texture> text
) {
float_t fTexture = -1;
float_t fTexture;
if(text == nullptr) {
fTexture = -1;
} else {