summaryrefslogtreecommitdiff
path: root/img
diff options
context:
space:
mode:
Diffstat (limited to 'img')
-rw-r--r--img/better_disp.lua4
1 files changed, 3 insertions, 1 deletions
diff --git a/img/better_disp.lua b/img/better_disp.lua
index f40aed2..0c94be0 100644
--- a/img/better_disp.lua
+++ b/img/better_disp.lua
@@ -54,7 +54,9 @@ local function adjust_to_2_colors(R,gromlings,pdists)
-- return the list of cidxs
local gromling_colors = {}
for i,c in ipairs(gromlings) do
- gromling_colors[i] = disp_common.closest_palette_color(R,c)
+ local cx = disp_common.closest_palette_color(R,c)
+ print("boo",i,c,cx)
+ gromling_colors[i] = cx
end
local all_current_colors = {}