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'm at a loss how to fix the issue, and hopefully the ES team can shed some light on how to fix this issue.
Thanks guys, I hope the report is detailed enough.
The text was updated successfully, but these errors were encountered:
Version: Somewhat modified ES - https://github.com/EmuELEC/emuelec-emulationstation
Built with OPENGLES 2.0.
Child Issue:
EmuELEC/EmuELEC#878
When the user plays a game, and ES halts upon resume some of the font letters have pixel corruption around some of the sides.
I've isolated it down to this function:
void Font::getTextureForNewGlyph(const Vector2i& glyphSize, FontTexture*& tex_out, Vector2i& cursor_out)
https://github.com/Aloshi/EmulationStation/blob/master/es-core/src/resources/Font.cpp#L324
If Texture Cacheing is disabled, the fonts display perfectly, but I think it also cause a memory-leak lool as my system crashed.
By making the pixel spacing between cache texture fonts = 2, it minimizes the amount of corruption but its still present.
https://github.com/Aloshi/EmulationStation/blob/master/es-core/src/resources/Font.cpp#L276
https://github.com/Aloshi/EmulationStation/blob/master/es-core/src/resources/Font.cpp#L288
I'm at a loss how to fix the issue, and hopefully the ES team can shed some light on how to fix this issue.
Thanks guys, I hope the report is detailed enough.
The text was updated successfully, but these errors were encountered: