don't waste time zeroing RageVColor by default

This commit is contained in:
Glenn Maynard
2005-01-02 23:04:25 +00:00
parent fbdf19445c
commit f60254ba0e
+1 -1
View File
@@ -194,7 +194,7 @@ class RageVColor
public:
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 &operator= (const RageColor &rc) {
r = FTOC(rc.r); g = FTOC(rc.g); b = FTOC(rc.b); a = FTOC(rc.a);