WinRT: fixed bug: SDL_RenderCopy was always filling the entire screen
This commit is contained in:
parent
48ce80d49a
commit
5e66f60ffa
3 changed files with 52 additions and 6 deletions
|
@ -26,6 +26,7 @@
|
|||
|
||||
struct SDL_VertexShaderConstants
|
||||
{
|
||||
DirectX::XMFLOAT4X4 view;
|
||||
DirectX::XMFLOAT4X4 projection;
|
||||
};
|
||||
|
||||
|
@ -40,6 +41,7 @@ typedef struct
|
|||
Microsoft::WRL::ComPtr<ID3D11VertexShader> vertexShader;
|
||||
Microsoft::WRL::ComPtr<ID3D11PixelShader> pixelShader;
|
||||
Microsoft::WRL::ComPtr<ID3D11SamplerState> mainSampler;
|
||||
Microsoft::WRL::ComPtr<ID3D11RasterizerState> mainRasterizer;
|
||||
D3D_FEATURE_LEVEL featureLevel;
|
||||
bool loadingComplete;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue