From 706a61dad756355ad4c0645a18f281398e9f5583 Mon Sep 17 00:00:00 2001 From: Jarod42 Date: Fri, 20 Sep 2024 09:15:46 +0200 Subject: [PATCH] Fix typo of Color constructor --- src/color.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/color.cpp b/src/color.cpp index cb39bf8..3c294cc 100644 --- a/src/color.cpp +++ b/src/color.cpp @@ -66,7 +66,7 @@ namespace gcn Color::Color(int color) : r((color >> 16) & 0xFF), g((color >> 8) & 0xFF), - b((color >> 8) & 0xFF) + b((color >> 0) & 0xFF) {} Color::Color(int r, int g, int b, int a) : r(r), g(g), b(b), a(a)