diff options
author | Treeki <treeki@gmail.com> | 2011-03-03 22:01:38 +0100 |
---|---|---|
committer | Treeki <treeki@gmail.com> | 2011-03-03 22:01:38 +0100 |
commit | a5b6dc1789f2e06a26fe6a0510aee04aeccdc70b (patch) | |
tree | 15065b84de58b2db03527da76b32f9b4b3c23c98 /NW4RTools/Util/NVDXT.cs | |
parent | b28711d999c86c40a11f61846ab15685c2fc172b (diff) | |
download | nw4rtools-a5b6dc1789f2e06a26fe6a0510aee04aeccdc70b.tar.gz nw4rtools-a5b6dc1789f2e06a26fe6a0510aee04aeccdc70b.zip |
tidying up a bit, also it compiles now
Diffstat (limited to '')
-rw-r--r-- | NW4RTools/Util/NVDXT.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/NW4RTools/Util/NVDXT.cs b/NW4RTools/Util/NVDXT.cs index fd7d50a..a972344 100644 --- a/NW4RTools/Util/NVDXT.cs +++ b/NW4RTools/Util/NVDXT.cs @@ -729,7 +729,7 @@ namespace NW4RTools.Util { CMPRBlock block = new CMPRBlock();
uint indices = 0xAAAAAAAA;
-
+
block.Color0 = (ushort)((OMatch5[c.R, 0] << 11) | (OMatch6[c.G, 0] << 5) | OMatch5[c.B, 0]);
block.Color1 = (ushort)((OMatch5[c.R, 1] << 11) | (OMatch6[c.G, 1] << 5) | OMatch5[c.B, 1]);
|