WinRT: minor d3d11 code cleanups
This commit is contained in:
parent
255cf99d66
commit
5fac22c332
1 changed files with 1 additions and 2 deletions
|
@ -375,7 +375,6 @@ D3D11_CreateDeviceResources(SDL_Renderer * renderer)
|
||||||
}
|
}
|
||||||
|
|
||||||
// Get the Direct3D 11.1 API device and context interfaces.
|
// Get the Direct3D 11.1 API device and context interfaces.
|
||||||
Microsoft::WRL::ComPtr<ID3D11Device1> d3dDevice1;
|
|
||||||
result = device.As(&(data->d3dDevice));
|
result = device.As(&(data->d3dDevice));
|
||||||
if (FAILED(result)) {
|
if (FAILED(result)) {
|
||||||
WIN_SetErrorFromHRESULT(__FUNCTION__ ", ID3D11Device to ID3D11Device1", result);
|
WIN_SetErrorFromHRESULT(__FUNCTION__ ", ID3D11Device to ID3D11Device1", result);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue