diff options
author | Treeki <treeki@gmail.com> | 2012-09-12 14:57:44 +0200 |
---|---|---|
committer | Treeki <treeki@gmail.com> | 2012-09-12 14:57:44 +0200 |
commit | 3189ca5efc5826405bf2e9c7d9949ad5ea9a8a10 (patch) | |
tree | d10e8cd4e462db28dd3c2f995905c4df57a20fed /lyt/materials/tevswaptable.cpp | |
parent | be8b56a7f0a8f6ba5456a099b61d032fd8aa2f61 (diff) | |
download | LayoutStudio-3189ca5efc5826405bf2e9c7d9949ad5ea9a8a10.tar.gz LayoutStudio-3189ca5efc5826405bf2e9c7d9949ad5ea9a8a10.zip |
initial un-exporter version
Diffstat (limited to 'lyt/materials/tevswaptable.cpp')
-rw-r--r-- | lyt/materials/tevswaptable.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lyt/materials/tevswaptable.cpp b/lyt/materials/tevswaptable.cpp index a13a491..9121b78 100644 --- a/lyt/materials/tevswaptable.cpp +++ b/lyt/materials/tevswaptable.cpp @@ -50,10 +50,10 @@ void LYTTevSwapTable::readFromDataStream(QDataStream &in) { quint8 val; in >> (quint8&)val; - mode[i].red = BitExtract(val, 2, 32 - 8); - mode[i].green = BitExtract(val, 2, 32 - 6); - mode[i].blue = BitExtract(val, 2, 32 - 4); - mode[i].alpha = BitExtract(val, 2, 32 - 2); + mode[i].red = BitExtract(val, 2, 32 - 2); + mode[i].green = BitExtract(val, 2, 32 - 4); + mode[i].blue = BitExtract(val, 2, 32 - 6); + mode[i].alpha = BitExtract(val, 2, 32 - 8); } } |