Skip to content

Commit

Permalink
Fix typo of Color constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
Jarod42 committed Sep 22, 2024
1 parent c0acdd0 commit 706a61d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/color.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 706a61d

Please sign in to comment.