@@ -809,8 +809,8 @@ namespace
809809 viewPort.TopLeftX = viewPort.TopLeftY = 0 .f ;
810810 viewPort.Width = static_cast <float >(width);
811811 viewPort.Height = static_cast <float >(height);
812- viewPort.MinDepth = D3D11_MIN_DEPTH;
813- viewPort.MaxDepth = D3D11_MAX_DEPTH;
812+ viewPort.MinDepth = 0 . f /* D3D11_MIN_DEPTH*/ ;
813+ viewPort.MaxDepth = 1 . f /* D3D11_MAX_DEPTH*/ ;
814814
815815 return hr;
816816 }
@@ -1263,7 +1263,7 @@ int __cdecl wmain(_In_ int argc, _In_z_count_(argc) wchar_t* argv[])
12631263 format = static_cast <DXGI_FORMAT>(LookupByName (pValue, g_pFormatAliases));
12641264 if (!format)
12651265 {
1266- wprintf (L" Invalid value specified with -f (%ls)\n " , pValue);
1266+ wprintf (L" Invalid value specified with -f (%ls)\n\n " , pValue);
12671267 PrintUsage ();
12681268 return 1 ;
12691269 }
@@ -1274,7 +1274,8 @@ int __cdecl wmain(_In_ int argc, _In_z_count_(argc) wchar_t* argv[])
12741274 dwFilter = static_cast <TEX_FILTER_FLAGS>(LookupByName (pValue, g_pFilters));
12751275 if (!dwFilter)
12761276 {
1277- wprintf (L" Invalid value specified with -if (%ls)\n " , pValue);
1277+ wprintf (L" Invalid value specified with -if (%ls)\n\n " , pValue);
1278+ PrintUsage ();
12781279 return 1 ;
12791280 }
12801281 break ;
@@ -1343,7 +1344,7 @@ int __cdecl wmain(_In_ int argc, _In_z_count_(argc) wchar_t* argv[])
13431344 }
13441345 else if (adapter < 0 )
13451346 {
1346- wprintf (L" Adapter index (%ls)\n\n " , pValue);
1347+ wprintf (L" Invalid adapter index (%ls)\n\n " , pValue);
13471348 PrintUsage ();
13481349 return 1 ;
13491350 }
0 commit comments