summaryrefslogtreecommitdiff
path: root/NW4RTools/Util/NVDXT.cs
diff options
context:
space:
mode:
authorTreeki <treeki@gmail.com>2011-03-03 22:01:38 +0100
committerTreeki <treeki@gmail.com>2011-03-03 22:01:38 +0100
commita5b6dc1789f2e06a26fe6a0510aee04aeccdc70b (patch)
tree15065b84de58b2db03527da76b32f9b4b3c23c98 /NW4RTools/Util/NVDXT.cs
parentb28711d999c86c40a11f61846ab15685c2fc172b (diff)
downloadnw4rtools-a5b6dc1789f2e06a26fe6a0510aee04aeccdc70b.tar.gz
nw4rtools-a5b6dc1789f2e06a26fe6a0510aee04aeccdc70b.zip
tidying up a bit, also it compiles now
Diffstat (limited to '')
-rw-r--r--NW4RTools/Util/NVDXT.cs2
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]);