Skip to content

Commit

Permalink
Comment Changes
Browse files Browse the repository at this point in the history
  • Loading branch information
phwitti committed May 19, 2016
1 parent 3230666 commit 1651dda
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions EncodeToTGAExtension.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public static byte[] EncodeToTGA(this Texture2D _texture2D)

binaryWriter.Write((byte)0); // IDLength (not in use)
binaryWriter.Write((byte)0); // ColorMapType (not in use)
binaryWriter.Write((byte)10); // DataTypeCode == 10 (Runlength encoded RGB images)
binaryWriter.Write((byte)10); // DataTypeCode == 10 (Runlength encoded RGB images)
binaryWriter.Write((short)0); // ColorMapOrigin (not in use)
binaryWriter.Write((short)0); // ColorMapLength (not in use)
binaryWriter.Write((byte)0); // ColorMapDepth (not in use)
Expand Down Expand Up @@ -107,7 +107,7 @@ public static byte[] EncodeToTGA(this Texture2D _texture2D)

//

// RLE Encoding
// RLE Helper

private enum RLEPacketType { RLE, RAW }

Expand Down

0 comments on commit 1651dda

Please sign in to comment.