Compare commits

..

No commits in common. "ad5de7874cd393c136d9428b1b44e7a7c7d555f2" and "c43df10c2aebbc290b22230558e143def5e05f50" have entirely different histories.

2 changed files with 4 additions and 2 deletions

View File

@ -102,7 +102,7 @@ namespace MoonWorks.Graphics
public CommandBuffer AcquireCommandBuffer() public CommandBuffer AcquireCommandBuffer()
{ {
return new CommandBuffer(this, Refresh.Refresh_AcquireCommandBuffer(Handle)); return new CommandBuffer(this, Refresh.Refresh_AcquireCommandBuffer(Handle, 0));
} }
public unsafe void Submit(CommandBuffer commandBuffer) public unsafe void Submit(CommandBuffer commandBuffer)

View File

@ -272,12 +272,14 @@ namespace MoonWorks.Graphics
const uint DDS_MAGIC = 0x20534444; const uint DDS_MAGIC = 0x20534444;
const uint DDS_HEADERSIZE = 124; const uint DDS_HEADERSIZE = 124;
const uint DDS_PIXFMTSIZE = 32; const uint DDS_PIXFMTSIZE = 32;
const uint DDSD_CAPS = 0x1;
const uint DDSD_HEIGHT = 0x2; const uint DDSD_HEIGHT = 0x2;
const uint DDSD_WIDTH = 0x4; const uint DDSD_WIDTH = 0x4;
const uint DDSD_PITCH = 0x8; const uint DDSD_PITCH = 0x8;
const uint DDSD_FMT = 0x1000;
const uint DDSD_LINEARSIZE = 0x80000; const uint DDSD_LINEARSIZE = 0x80000;
const uint DDSD_REQ = ( const uint DDSD_REQ = (
DDSD_HEIGHT | DDSD_WIDTH DDSD_CAPS | DDSD_HEIGHT | DDSD_WIDTH | DDSD_FMT
); );
const uint DDSCAPS_MIPMAP = 0x400000; const uint DDSCAPS_MIPMAP = 0x400000;
const uint DDSCAPS_TEXTURE = 0x1000; const uint DDSCAPS_TEXTURE = 0x1000;