Fix font bugs

This commit is contained in:
2026-09-06 15:58:11 +02:00
committed by tobid7
parent 7ad2b8b0c5
commit dd038883a0
3 changed files with 6 additions and 6 deletions
+3 -3
View File
@@ -20,12 +20,12 @@ class Drawlist;
class PD_API Font {
public:
struct Codepoint {
u32 pCodepoint;
u32 pCodepoint = 0;
fvec4 SimpleUV;
size_t Tex;
size_t Tex = 0;
fvec2 Size;
float Offset = 0.f;
bool pInvalid;
bool pInvalid = false;
};
Font() {}
~Font() {}