Skip to content

Commit 6844fdb

Browse files
committed
Bugfix all colors being transparant
1 parent 87f3620 commit 6844fdb

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

klib/graphics/color.hpp

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -31,28 +31,28 @@ namespace klib::graphics {
3131

3232
// some default colors
3333
[[maybe_unused]]
34-
constexpr color white = {0xff, 0xff, 0xff, false};
34+
constexpr color white = {0xff, 0xff, 0xff, 0xff};
3535

3636
[[maybe_unused]]
37-
constexpr color black = {0x00, 0x00, 0x00, false};
37+
constexpr color black = {0x00, 0x00, 0x00, 0xff};
3838

3939
[[maybe_unused]]
40-
constexpr color grey = {0xa0, 0xa0, 0xa0, false};
40+
constexpr color grey = {0xa0, 0xa0, 0xa0, 0xff};
4141

4242
[[maybe_unused]]
43-
constexpr color red = {0xff, 0x00, 0x00, false};
43+
constexpr color red = {0xff, 0x00, 0x00, 0xff};
4444

4545
[[maybe_unused]]
46-
constexpr color green = {0x00, 0xff, 0x00, false};
46+
constexpr color green = {0x00, 0xff, 0x00, 0xff};
4747

4848
[[maybe_unused]]
49-
constexpr color blue = {0x00, 0x00, 0xff, false};
49+
constexpr color blue = {0x00, 0x00, 0xff, 0xff};
5050

5151
[[maybe_unused]]
52-
constexpr color yellow = {0xff, 0xff, 0x00, false};
52+
constexpr color yellow = {0xff, 0xff, 0x00, 0xff};
5353

5454
[[maybe_unused]]
55-
constexpr color transparent = {0x00, 0x00, 0x00, true};
55+
constexpr color transparent = {0x00, 0x00, 0x00, 0xff};
5656
}
5757

5858
namespace klib::graphics {

0 commit comments

Comments
 (0)