fixed compiling of PixelBitmapContent
This commit is contained in:
parent
18152ade3e
commit
2ea231e1d9
@ -42,7 +42,6 @@ namespace ANX.Framework.Content.Pipeline.Graphics
|
|||||||
{
|
{
|
||||||
T[] row = GetRow(i);
|
T[] row = GetRow(i);
|
||||||
|
|
||||||
BitCopier.Copy<T, byte>(this.GetRow(i), 0, PixelBitmapContent<T>.pixelSize, array, i * num, PixelBitmapContent<T>.pixelSize, PixelBitmapContent<T>.pixelSize, base.Width);
|
|
||||||
}
|
}
|
||||||
return array;
|
return array;
|
||||||
}
|
}
|
||||||
|
@ -28,8 +28,6 @@ namespace ANX.Framework.Content.Pipeline.Serialization.Compiler
|
|||||||
|
|
||||||
protected internal override void Write(ContentWriter output, Texture2DContent value)
|
protected internal override void Write(ContentWriter output, Texture2DContent value)
|
||||||
{
|
{
|
||||||
System.Diagnostics.Debugger.Break();
|
|
||||||
|
|
||||||
BitmapContent bitmapContent = value.Faces[0][0];
|
BitmapContent bitmapContent = value.Faces[0][0];
|
||||||
SurfaceFormat format;
|
SurfaceFormat format;
|
||||||
if (!bitmapContent.TryGetFormat(out format))
|
if (!bitmapContent.TryGetFormat(out format))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user