WinRT: moved the default vertex shader into the Direct3D 11.1 renderer's folder
--HG-- rename : src/video/windowsrt/SimpleVertexShader.hlsl => src/render/direct3d11/SDL_D3D11_VertexShader_Default.hlsl
This commit is contained in:
parent
a53fe847a1
commit
0464946409
6 changed files with 10 additions and 12 deletions
|
@ -345,7 +345,7 @@ D3D11_CreateDeviceResources(SDL_Renderer * renderer)
|
|||
// Load in SDL's one and only vertex shader:
|
||||
//
|
||||
vector<char> fileData;
|
||||
if (!D3D11_ReadShaderContents(L"SimpleVertexShader.cso", fileData)) {
|
||||
if (!D3D11_ReadShaderContents(L"SDL_D3D11_VertexShader_Default.cso", fileData)) {
|
||||
SDL_SetError("Unable to open SDL's vertex shader file.");
|
||||
return E_FAIL;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue