Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
WinRT: minor code cleanups
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidLudwig committed Nov 20, 2012
1 parent 58489e2 commit 1824595
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions src/video/windowsrt/SDL_winrtrenderer.cpp
Expand Up @@ -108,8 +108,6 @@ void SDL_winrtrenderer::Render()
return;
}

m_d3dContext->RSSetState(m_rasterState.Get());

m_d3dContext->OMSetRenderTargets(
1,
m_renderTargetView.GetAddressOf(),
Expand Down
2 changes: 0 additions & 2 deletions src/video/windowsrt/SDL_winrtrenderer.h
Expand Up @@ -25,8 +25,6 @@ ref class SDL_winrtrenderer sealed : public Direct3DBase
Microsoft::WRL::ComPtr<ID3D11Buffer> m_vertexBuffer;
Microsoft::WRL::ComPtr<ID3D11VertexShader> m_vertexShader;
Microsoft::WRL::ComPtr<ID3D11PixelShader> m_pixelShader;
Microsoft::WRL::ComPtr<ID3D11Buffer> m_constantBuffer;
Microsoft::WRL::ComPtr<ID3D11RasterizerState> m_rasterState;

uint32 m_vertexCount;
};

0 comments on commit 1824595

Please sign in to comment.