diff --git a/src/Graphics/Resources/Texture.cs b/src/Graphics/Resources/Texture.cs index 7c86520b..355ba5f2 100644 --- a/src/Graphics/Resources/Texture.cs +++ b/src/Graphics/Resources/Texture.cs @@ -96,8 +96,8 @@ namespace MoonWorks.Graphics { for (int j = 0; j < levels; j += 1) { - var levelWidth = width >> i; - var levelHeight = height >> i; + var levelWidth = width >> j; + var levelHeight = height >> j; var pixels = reader.ReadBytes( Texture.CalculateDDSLevelSize(