summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorehriche <eehrich@googlemail.com>2015-05-06 01:03:05 +0200
committerehriche <eehrich@googlemail.com>2015-05-06 01:22:38 +0200
commitb89cd136a9ce85d1ecf397e8129897a5bd2dd839 (patch)
tree17294f416d61fd0e2d80bc0b535657580602730a
parent897a1aade5332753d9fda950d80495798cdc85b4 (diff)
fixed ColorRgb attribute init order of struct
-rw-r--r--drivers/pvr/ColorRgba.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/pvr/ColorRgba.h b/drivers/pvr/ColorRgba.h
index 6b46d65e3c..0701420566 100644
--- a/drivers/pvr/ColorRgba.h
+++ b/drivers/pvr/ColorRgba.h
@@ -11,21 +11,21 @@ public:
ColorRgb()
- : r(0)
+ : b(0)
, g(0)
- , b(0) {
+ , r(0) {
}
ColorRgb(T red, T green, T blue)
- : r(red)
+ : b(blue)
, g(green)
- , b(blue) {
+ , r(red) {
}
ColorRgb(const ColorRgb<T> &x)
- : r(x.r)
+ : b(x.b)
, g(x.g)
- , b(x.b) {
+ , r(x.r) {
}
ColorRgb<int> operator *(int x) {