TTF_OpenFontRW retains the SDL_RWops on success, so we must keep the font data around to back it
This commit is contained in:
parent
a8dc5ac14a
commit
6783cf57da
2 changed files with 7 additions and 5 deletions
|
|
@ -26,6 +26,7 @@ private:
|
|||
|
||||
SDL_Renderer* m_Renderer;
|
||||
SDL_Texture* m_Texture;
|
||||
QByteArray m_FontData;
|
||||
TTF_Font* m_OverlayFonts[Overlay::OverlayMax];
|
||||
SDL_Surface* m_OverlaySurfaces[Overlay::OverlayMax];
|
||||
SDL_Texture* m_OverlayTextures[Overlay::OverlayMax];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue