Fix some warnings
This commit is contained in:
@@ -50,7 +50,7 @@ namespace OpenVulkano::Math
|
||||
};
|
||||
};
|
||||
|
||||
RGB565() : r(0), g(0), b(0) {}
|
||||
RGB565() : value(0) {}
|
||||
|
||||
template<typename T, std::enable_if_t<std::is_integral_v<T>, bool> = true>
|
||||
RGB565(const Math::Vector3<T>& color) : b(Make5(color.b)), g(Make6(color.g)), r(Make5(color.r))
|
||||
|
||||
Reference in New Issue
Block a user