diff options
author | Treeki <treeki@gmail.com> | 2011-05-26 00:20:24 +0200 |
---|---|---|
committer | Treeki <treeki@gmail.com> | 2011-05-26 00:20:24 +0200 |
commit | 1a58d8c31756fc986b993046d707d97168648510 (patch) | |
tree | 164feeb25dd633aa7a125194c83568f81b2ce51a /NW4RTools | |
parent | d3f7d43d9cf8a3126d5b1cbbd0c10fc96c5d6053 (diff) | |
download | nw4rtools-1a58d8c31756fc986b993046d707d97168648510.tar.gz nw4rtools-1a58d8c31756fc986b993046d707d97168648510.zip |
yay, a bug in display lists!
Diffstat (limited to 'NW4RTools')
-rwxr-xr-x | NW4RTools/ObjImporter.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/NW4RTools/ObjImporter.cs b/NW4RTools/ObjImporter.cs index 1e36983..384fb66 100755 --- a/NW4RTools/ObjImporter.cs +++ b/NW4RTools/ObjImporter.cs @@ -377,7 +377,7 @@ namespace NW4RTools { var texCoordGenDL = new DisplayListWriter(); texCoordGenDL.LoadXFReg(0x1040, new byte[] { 0x00, 0x00, 0x52, 0x80 }); texCoordGenDL.LoadXFReg(0x1050, new byte[] { 0x00, 0x00, 0x00, 0x00 }); - texCoordGenDL.AddPadding(110); + texCoordGenDL.PadToSize(0xA0); texCoordGenDL.End(); currentMaterial.TexCoordGenDL = texCoordGenDL.GetBuffer(); |