don't waste time zeroing RageVColor by default
This commit is contained in:
@@ -194,7 +194,7 @@ class RageVColor
|
|||||||
public:
|
public:
|
||||||
uint8_t b,g,r,a; // specific ordering required by Direct3D
|
uint8_t b,g,r,a; // specific ordering required by Direct3D
|
||||||
|
|
||||||
RageVColor(): b(0), g(0), r(0), a(0) { }
|
RageVColor() { }
|
||||||
RageVColor(const RageColor &rc) { *this = rc; }
|
RageVColor(const RageColor &rc) { *this = rc; }
|
||||||
RageVColor &operator= (const RageColor &rc) {
|
RageVColor &operator= (const RageColor &rc) {
|
||||||
r = FTOC(rc.r); g = FTOC(rc.g); b = FTOC(rc.b); a = FTOC(rc.a);
|
r = FTOC(rc.r); g = FTOC(rc.g); b = FTOC(rc.b); a = FTOC(rc.a);
|
||||||
|
|||||||
Reference in New Issue
Block a user