96c49e6c6a
It doesn't make sense for surface.load_uncached() to load a file without inserting into the cache. The next "cached" load will have to load it again. So move cache insertion into surface.load_uncached() and the only thing that surface.load() does differently is checking if we have a suitable cache entry before calling load_uncached(). So load_uncached() does the cache insertion and load() reads from the cache. Signed-off-by: Uli Schlachter <psychon@znc.in> |
||
---|---|---|
.. | ||
color.lua.in | ||
debug.lua.in | ||
init.lua.in | ||
object.lua.in | ||
sort.lua.in | ||
surface.lua.in | ||
wallpaper.lua.in |