Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion libs/openFrameworks/types/ofColor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ A clampedMultiply(const A& a, const B& b) {
}

template<typename PixelType>
ofColor_<PixelType>::ofColor_(float _r, float _g, float _b, float _a):
ofColor_<PixelType>::ofColor_(PixelType _r, PixelType _g, PixelType _b, PixelType _a):
r(_r),
g(_g),
b(_b),
Expand Down
2 changes: 1 addition & 1 deletion libs/openFrameworks/types/ofColor.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ class ofColor_{
/// \param green The green component.
/// \param blue The blue component.
/// \param alpha The alpha component.
ofColor_(float red, float green, float blue, float alpha = limit());
ofColor_(PixelType red, PixelType green, PixelType blue, PixelType alpha = limit());

/// \brief Construct a grayscale ofColor_ by specifying a single number.
///
Expand Down