summaryrefslogtreecommitdiff
path: root/img
diff options
context:
space:
mode:
Diffstat (limited to 'img')
-rw-r--r--img/better_disp.lua4
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