Permalink
Browse files

Fix missing abstract keyword.

Fix reference to renamed PvrtcBitmapContent class.
  • Loading branch information...
KonajuGames committed Apr 26, 2013
1 parent 36ca182 commit f71e2d3c439a2c07b566d6514f2fd15d748ae25a
@@ -7,7 +7,7 @@
namespace Microsoft.Xna.Framework.Content.Pipeline.Graphics
{
- public class DxtBitmapContent : BitmapContent
+ public abstract class DxtBitmapContent : BitmapContent
{
internal byte[] _bitmapData;
internal int _blockSize;
@@ -232,7 +232,7 @@ private static void CompressPvrtc(TextureContent content, bool generateMipmaps,
var levelWidth = Math.Max(sourceWidth >> x, 1);
var levelHeight = Math.Max(sourceHeight >> x, 1);
- var bmpContent = new PVRTCBitmapContent(4, sourceWidth, sourceHeight);
+ var bmpContent = new PvrtcBitmapContent(4, sourceWidth, sourceHeight);
bmpContent.SetPixelData(levelData);
content.Faces[0].Add(bmpContent);

0 comments on commit f71e2d3

Please sign in to comment.