Files
gtk/gsk
Timm Bäder a872c41f79 glglyphcache: Fix dropping caches unnecessarily
The first set of glyphs is created with a timestamp of 1. Later we
subtract the glyph timestamp from the cache timestamp, meaning we end up
with numbers ending in 9, e.g. 59. Now unfortunately !(60 <= 59), so we
do not end up incrasing the old_pixels count of the cache. Later we then
call lookup() and DEcrease the old_pixels count, which makes the
unsigned int wrap and cause a huge old_pixels value, which causes us to
drop the cache.
2019-02-10 10:31:27 +01:00
..
2018-02-06 01:16:32 -05:00
2016-12-20 18:01:12 +01:00
2018-04-05 14:56:38 +02:00
2018-04-05 14:56:38 +02:00
2018-06-25 19:55:04 -04:00
2017-09-10 14:36:26 -04:00
2018-07-17 17:33:47 +02:00
2018-12-02 16:04:40 +01:00