Skip to content

Commit 93130aa

Browse files
committed
Update Window::ClearBackground to take a reference to a ::Color
1 parent 10b18af commit 93130aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/Window.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ class Window {
128128
/**
129129
* Clear window with given color.
130130
*/
131-
inline Window& ClearBackground(const raylib::Color& color = raylib::Color::Black()) {
131+
inline Window& ClearBackground(const ::Color& color = BLACK) {
132132
::ClearBackground(color);
133133
return *this;
134134
}

0 commit comments

Comments
 (0)