rename PDBackendFlags to PDGfxBackendFlags

This commit is contained in:
2026-04-03 12:52:30 +02:00
parent a776addf11
commit 8215baac99
3 changed files with 10 additions and 10 deletions
+1 -1
View File
@@ -103,7 +103,7 @@ PD_API void Font::LoadTTF(const std::vector<u8>& data, int px_height) {
uvs.z = (off.x + w) / static_cast<float>(texszs);
uvs.w = (off.y + h) / static_cast<float>(texszs);
// Flip if needed
if (PD::Gfx::GetFlags() & PDBackendFlags_FlipUV_Y) {
if (PD::Gfx::GetFlags() & PDGfxBackendFlags_FlipUV_Y) {
uvs.y = 1.f - uvs.y;
uvs.w = 1.f - uvs.w;
}