WinRT: minor code cleanups
authorDavid Ludwig <dludwig@pobox.com>
Tue, 20 Nov 2012 08:12:12 -0500
changeset 8345 a7bbc0d7f381
parent 8344 11fd2e01a070
child 8346 a15d524f1d2e
WinRT: minor code cleanups
src/video/windowsrt/SDL_winrtrenderer.cpp
src/video/windowsrt/SDL_winrtrenderer.h
--- a/src/video/windowsrt/SDL_winrtrenderer.cpp	Mon Nov 19 22:30:00 2012 -0500
+++ b/src/video/windowsrt/SDL_winrtrenderer.cpp	Tue Nov 20 08:12:12 2012 -0500
@@ -108,8 +108,6 @@
 		return;
 	}
 
-	m_d3dContext->RSSetState(m_rasterState.Get());
-
 	m_d3dContext->OMSetRenderTargets(
 		1,
 		m_renderTargetView.GetAddressOf(),
--- a/src/video/windowsrt/SDL_winrtrenderer.h	Mon Nov 19 22:30:00 2012 -0500
+++ b/src/video/windowsrt/SDL_winrtrenderer.h	Tue Nov 20 08:12:12 2012 -0500
@@ -25,8 +25,6 @@
 	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;
 };