mirror of
https://github.com/microsoft/DirectXTex.git
synced 2026-02-07 05:26:12 +01:00
Use IID_PPV_ARGS macro
This commit is contained in:
@@ -568,7 +568,7 @@ bool CreateDevice( _Outptr_ ID3D11Device** pDevice )
|
||||
if ( SUCCEEDED(hr) )
|
||||
{
|
||||
ComPtr<IDXGIDevice> dxgiDevice;
|
||||
hr = (*pDevice)->QueryInterface( __uuidof( IDXGIDevice ), reinterpret_cast< void** >( dxgiDevice.GetAddressOf() ) );
|
||||
hr = (*pDevice)->QueryInterface( IID_PPV_ARGS( dxgiDevice.GetAddressOf() ) );
|
||||
if ( SUCCEEDED(hr) )
|
||||
{
|
||||
ComPtr<IDXGIAdapter> pAdapter;
|
||||
|
||||
Reference in New Issue
Block a user