From bf7295f49b5675bd960b75d98b738c34eaebc7e4 Mon Sep 17 00:00:00 2001 From: Edouard DUPIN Date: Thu, 21 Mar 2013 00:07:04 +0100 Subject: [PATCH] [DEBUG] missing a cont on colorf constructor --- draw/Color.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/draw/Color.h b/draw/Color.h index 133a4ab..2919e89 100644 --- a/draw/Color.h +++ b/draw/Color.h @@ -54,7 +54,7 @@ namespace draw { b = _b; a = _a; } - Colorf(draw::Color& _input) + Colorf(const draw::Color& _input) { r = (float)_input.r / 255.0; g = (float)_input.g / 255.0;