mirror of
https://github.com/libSDL2pp/libSDL2pp.git
synced 2025-08-03 10:55:57 -04:00
Whitespace fixes
This commit is contained in:
parent
41c96ba25b
commit
d0ac22a6fd
@ -22,6 +22,6 @@
|
|||||||
#include <SDL2pp/Color.hh>
|
#include <SDL2pp/Color.hh>
|
||||||
|
|
||||||
std::ostream& operator<<(std::ostream& stream, const SDL2pp::Color& color) {
|
std::ostream& operator<<(std::ostream& stream, const SDL2pp::Color& color) {
|
||||||
stream << "[r:" << static_cast<int>(color.r) << ",g:" << static_cast<int>(color.g) << ",b:" << static_cast<int>(color.b) << ",a:" << static_cast<int>(color.a) << "]";
|
stream << "[r:" << static_cast<int>(color.r) << ",g:" << static_cast<int>(color.g) << ",b:" << static_cast<int>(color.b) << ",a:" << static_cast<int>(color.a) << "]";
|
||||||
return stream;
|
return stream;
|
||||||
}
|
}
|
||||||
|
@ -198,7 +198,7 @@ Renderer& Renderer::SetDrawColor(Uint8 r, Uint8 g, Uint8 b, Uint8 a) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
Renderer& Renderer::SetDrawColor(const Color& color) {
|
Renderer& Renderer::SetDrawColor(const Color& color) {
|
||||||
return SetDrawColor(color.r, color.g, color.b, color.a);
|
return SetDrawColor(color.r, color.g, color.b, color.a);
|
||||||
}
|
}
|
||||||
|
|
||||||
Renderer& Renderer::SetTarget() {
|
Renderer& Renderer::SetTarget() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user