summaryrefslogtreecommitdiff
path: root/src/modules/stars
diff options
context:
space:
mode:
authorVito Caputo <vcaputo@pengaru.com>2022-04-28 15:52:10 -0700
committerVito Caputo <vcaputo@pengaru.com>2022-04-28 16:29:42 -0700
commit44aa595269516d44f6642890a9211bcdde8b29fd (patch)
treeba1cce01703cff14894516aa31387f04564ba623 /src/modules/stars
parentfd9a7050e9afba9da061b5a9ca83c95a36eba44a (diff)
libs/din: premultiply din->width * din->height
dotgradient() is very hot and needs this result when indexing din->grid[]. Since it doesn't change for a given din instance, just cache the result @ din_new().
Diffstat (limited to 'src/modules/stars')
0 files changed, 0 insertions, 0 deletions
© All Rights Reserved