From 21085140e0af0e6726e15a34abe0c7de3072ef7e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?David=20Tschumperl=C3=A9?= <David.Tschumperle@gmail.com>
Date: Tue, 9 Oct 2018 22:44:24 +0200
Subject: [PATCH] .

---
 CImg.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/CImg.h b/CImg.h
index 9b408c7..e54fb37 100644
--- a/CImg.h
+++ b/CImg.h
@@ -46995,7 +46995,7 @@ namespace cimg_library_suffixed {
                 draw_triangle(x0,y0,z0,x2,y2,z2,x3,y3,z3,color,tx0,ty0,tx2,ty2,tx3,ty3,opacity,lightprops(l));
 #ifdef cimg_use_board
             if (pboard) {
-              const float lp = std::min(lightprops(l),1);
+              const float lp = std::min(lightprops(l),1.0f);
               board.setPenColorRGBi((unsigned char)(128*lp),
                                      (unsigned char)(128*lp),
                                      (unsigned char)(128*lp),
-- 
GitLab