Navigation Menu

Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
WinRT: removed a bit of unused code from the D3D 11.1 renderer
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidLudwig committed Apr 2, 2013
1 parent 05ccd27 commit 50bf5ed
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
2 changes: 0 additions & 2 deletions src/render/direct3d11/SDL_render_d3d11.cpp
Expand Up @@ -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);

Expand Down Expand Up @@ -555,7 +554,6 @@ D3D11_CreateDeviceResources(SDL_Renderer * renderer)
//
// All done!
//
data->loadingComplete = true; // This variable can probably be factored-out
return S_OK;
}

Expand Down
1 change: 0 additions & 1 deletion src/render/direct3d11/SDL_render_d3d11_cpp.h
Expand Up @@ -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;
Expand Down

0 comments on commit 50bf5ed

Please sign in to comment.