WinRT: removed a bit of unused code from the D3D 11.1 renderer

This commit is contained in:
David Ludwig
2013-04-02 00:21:01 -04:00
parent 0c6e5ad1a9
commit 50a881d724
2 changed files with 0 additions and 3 deletions

View File

@@ -157,7 +157,6 @@ D3D11_CreateRenderer(SDL_Window * window, Uint32 flags)
return NULL;
}
data->featureLevel = (D3D_FEATURE_LEVEL) 0;
data->loadingComplete = false;
data->windowSizeInDIPs = XMFLOAT2(0, 0);
data->renderTargetSize = XMFLOAT2(0, 0);
@@ -555,7 +554,6 @@ D3D11_CreateDeviceResources(SDL_Renderer * renderer)
//
// All done!
//
data->loadingComplete = true; // This variable can probably be factored-out
return S_OK;
}

View File

@@ -49,7 +49,6 @@ typedef struct
Microsoft::WRL::ComPtr<ID3D11SamplerState> mainSampler;
Microsoft::WRL::ComPtr<ID3D11RasterizerState> mainRasterizer;
D3D_FEATURE_LEVEL featureLevel;
bool loadingComplete;
// Vertex buffer constants:
SDL_VertexShaderConstants vertexShaderConstantsData;