diff options
author | ubq323 <ubq323@ubq323.website> | 2022-08-06 22:58:59 +0100 |
---|---|---|
committer | ubq323 <ubq323@ubq323.website> | 2022-08-06 22:58:59 +0100 |
commit | 76aea866e25880ea13d566a22087b82f7c42c89e (patch) | |
tree | 6054fb461ad33ae24f1946efa8c7974feb7dd924 /img | |
parent | 5fa756996028fc7ce6be943f3e47c10231dbed0d (diff) |
img
Diffstat (limited to 'img')
-rw-r--r-- | img/better_disp.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/img/better_disp.lua b/img/better_disp.lua index 1d36f7a..46c7ae1 100644 --- a/img/better_disp.lua +++ b/img/better_disp.lua @@ -30,8 +30,8 @@ local function all_palette_distances(R) for b = 0,15 do local ia=2^a local ib=2^b - local ca = R.getPaletteColor(ia) - local cb = R.getPaletteColor(ib) + local ca = {R.getPaletteColor(ia)} + local cb = {R.getPaletteColor(ib)} local dist = disp_common.color_dist(ca,cb) out[ia][ib] = dist end |