Skip to content

Commit 306380e

Browse files
committed
Add default constructor for color
1 parent 7959bd7 commit 306380e

File tree

1 file changed

+3
-0
lines changed
  • src/core/include/growl/core/graphics

1 file changed

+3
-0
lines changed

src/core/include/growl/core/graphics/color.h

+3
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ struct Color {
77
float b;
88
float a;
99

10+
Color()
11+
: Color(0, 0, 0, 0) {}
12+
1013
Color(float r, float g, float b, float a)
1114
: r{r}
1215
, g{g}

0 commit comments

Comments
 (0)