You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I noticed after neglecting to set a size for a table view that the menu would take up to 10 seconds to render a single frame. After some investigation I worked out that it was UI_DrawString that was being slow. I think that because the height of the table view was less than the height of the font, the function got stuck in an infinite loop and kept "wrapping" the line/increasing the value of yy until it overflowed, thereby eventually failing the check if ( yy < (yy + h) - charH ).
The text was updated successfully, but these errors were encountered:
I noticed after neglecting to set a size for a table view that the menu would take up to 10 seconds to render a single frame. After some investigation I worked out that it was
UI_DrawString
that was being slow. I think that because the height of the table view was less than the height of the font, the function got stuck in an infinite loop and kept "wrapping" the line/increasing the value ofyy
until it overflowed, thereby eventually failing the checkif ( yy < (yy + h) - charH )
.The text was updated successfully, but these errors were encountered: