| 78 | } |
| 79 | |
| 80 | bool FontTextureAtlas::Invalidate(const FontTextureAtlasSlot* slot) |
| 81 | { |
| 82 | if (slot) |
| 83 | { |
| 84 | // Push back to free slots list to be used on the next insert (in theory slot handle is still valid but we keep it free) |
| 85 | _freeSlots.AddUnique((FontTextureAtlasSlot*)slot); |
| 86 | return true; |
| 87 | } |
| 88 | return false; |
| 89 | } |
| 90 | |
| 91 | bool FontTextureAtlas::Invalidate(uint32 x, uint32 y, uint32 width, uint32 height) |
| 92 | { |
nothing calls this directly
no test coverage detected