Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

WinRT: minor code cleanups

  • Loading branch information
DavidLudwig committed Nov 20, 2012
1 parent 58489e2 commit 1824595e880f70895ae4a18990e4c8607caa2e3c
Showing with 0 additions and 4 deletions.
  1. +0 −2 src/video/windowsrt/SDL_winrtrenderer.cpp
  2. +0 −2 src/video/windowsrt/SDL_winrtrenderer.h
@@ -108,8 +108,6 @@ void SDL_winrtrenderer::Render()
return;
}

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

m_d3dContext->OMSetRenderTargets(
1,
m_renderTargetView.GetAddressOf(),
@@ -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.