Skip to content

Commit

Permalink
Merge branch 'dx12-backend-2' of https://github.com/doodlum/skyrim-co…
Browse files Browse the repository at this point in the history
…mmunity-shaders into dx12-backend-2
  • Loading branch information
doodlum committed Dec 22, 2024
2 parents d205575 + 2b4aff6 commit 8d3aed2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/Brixelizer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ void Brixelizer::InitBrixelizer()

auto device = reinterpret_cast<ID3D11Device*>(manager->GetRuntimeData().forwarder);
auto context = reinterpret_cast<ID3D11DeviceContext*>(manager->GetRuntimeData().context);

DX::ThrowIfFailed(device->QueryInterface(IID_PPV_ARGS(&d3d11Device)));
DX::ThrowIfFailed(context->QueryInterface(IID_PPV_ARGS(&d3d11Context)));

Expand Down Expand Up @@ -250,7 +250,7 @@ void Brixelizer::FrameUpdate()
if (debugAvailable && debugCapture)
ga->EndCapture();

// Signal and wait for D3D12 to complete this frame's work
// Signal and wait for D3D12 to complete this frame's work
WaitForD3D12(commandQueue.get(), d3d12Fence.get(), currentFenceValue);

debugCapture = false;
Expand Down
2 changes: 1 addition & 1 deletion src/Brixelizer.h
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ class Brixelizer
winrt::com_ptr<ID3D12CommandQueue> commandQueue;
winrt::com_ptr<ID3D12CommandAllocator> commandAllocator;
winrt::com_ptr<ID3D12GraphicsCommandList> commandList;

winrt::com_ptr<ID3D11Device5> d3d11Device;
winrt::com_ptr<ID3D11DeviceContext4> d3d11Context;
winrt::com_ptr<ID3D11Fence> d3d11Fence;
Expand Down

0 comments on commit 8d3aed2

Please sign in to comment.