- Fix LinearAlloc bug not using *sizeof(T)
- Add WaitForRead to net backend
- Add a Get func to Tween
- Skip \r in Text Rendering
- Add Citro3D Max Texsize check
This commit is contained in:
2025-05-02 15:09:21 +02:00
parent 13c2869ba8
commit f75f7067ff
10 changed files with 91 additions and 30 deletions

View File

@ -239,7 +239,7 @@ PD_LITHIUM_API void Font::CmdTextEx(Vec<Command::Ref> &cmds, const fvec2 &pos,
cmd->Tex = Tex;
for (auto &jt : wline) {
auto cp = GetCodepoint(jt);
if (cp.pInvalid && jt != '\n' && jt != '\t') {
if ((cp.pInvalid && jt != '\n' && jt != '\t') && jt != '\r') {
continue;
}
if (Tex != cp.Tex) {