D3D11 window up and spinning.

This commit is contained in:
Ben Vanik
2013-10-11 20:23:58 -07:00
parent 611d3bbbeb
commit 6e4fb87992
33 changed files with 1184 additions and 62 deletions

View File

@@ -19,11 +19,15 @@ using namespace xe::gpu::d3d11;
using namespace xe::gpu::xenos;
D3D11GraphicsDriver::D3D11GraphicsDriver(xe_memory_ref memory) :
D3D11GraphicsDriver::D3D11GraphicsDriver(
xe_memory_ref memory, ID3D11Device* device) :
GraphicsDriver(memory) {
device_ = device;
device_->AddRef();
}
D3D11GraphicsDriver::~D3D11GraphicsDriver() {
device_->Release();
}
void D3D11GraphicsDriver::Initialize() {