WinRT: D3D 11.1 blending mode support added; FillRects coloring bug-fix

This commit is contained in:
David Ludwig 2013-02-16 16:53:06 -05:00
parent a6c8d32843
commit bafdb176fa
2 changed files with 90 additions and 5 deletions

View file

@ -41,6 +41,9 @@ typedef struct
Microsoft::WRL::ComPtr<ID3D11VertexShader> vertexShader;
Microsoft::WRL::ComPtr<ID3D11PixelShader> texturePixelShader;
Microsoft::WRL::ComPtr<ID3D11PixelShader> colorPixelShader;
Microsoft::WRL::ComPtr<ID3D11BlendState> blendModeBlend;
Microsoft::WRL::ComPtr<ID3D11BlendState> blendModeAdd;
Microsoft::WRL::ComPtr<ID3D11BlendState> blendModeMod;
Microsoft::WRL::ComPtr<ID3D11SamplerState> mainSampler;
Microsoft::WRL::ComPtr<ID3D11RasterizerState> mainRasterizer;
D3D_FEATURE_LEVEL featureLevel;