mirror of
https://github.com/yawut/SDL.git
synced 2026-08-22 00:35:18 -05:00
WinRT: minor code cleanups
This commit is contained in:
@@ -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 @@ private:
|
||||
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;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user