WinRT: minor d3d11 code cleanups
authorDavid Ludwig <dludwig@pobox.com>
Wed, 25 Dec 2013 12:48:47 -0500
changeset 85551e6d8983ea6e
parent 8554 f609731cf2e6
child 8556 9acb33672124
WinRT: minor d3d11 code cleanups
src/render/direct3d11/SDL_render_d3d11.cpp
     1.1 --- a/src/render/direct3d11/SDL_render_d3d11.cpp	Wed Dec 25 12:47:39 2013 -0500
     1.2 +++ b/src/render/direct3d11/SDL_render_d3d11.cpp	Wed Dec 25 12:48:47 2013 -0500
     1.3 @@ -375,7 +375,6 @@
     1.4      }
     1.5  
     1.6      // Get the Direct3D 11.1 API device and context interfaces.
     1.7 -    Microsoft::WRL::ComPtr<ID3D11Device1> d3dDevice1;
     1.8      result = device.As(&(data->d3dDevice));
     1.9      if (FAILED(result)) {
    1.10          WIN_SetErrorFromHRESULT(__FUNCTION__ ", ID3D11Device to ID3D11Device1", result);
    1.11 @@ -767,7 +766,7 @@
    1.12  #endif
    1.13          swapChainDesc.Flags = 0;
    1.14  
    1.15 -        ComPtr<IDXGIDevice1>  dxgiDevice;
    1.16 +        ComPtr<IDXGIDevice1> dxgiDevice;
    1.17          result = data->d3dDevice.As(&dxgiDevice);
    1.18          if (FAILED(result)) {
    1.19              WIN_SetErrorFromHRESULT(__FUNCTION__ ", ID3D11Device1 to IDXGIDevice1", result);