From 709010557320b6ce4683d4c9a08474c7110f270d Mon Sep 17 00:00:00 2001 From: Robin Kertels Date: Sat, 8 Oct 2022 17:30:53 +0200 Subject: [PATCH] [d3d9] Remove declaration fvf mapping log spam --- src/d3d9/d3d9_vertex_declaration.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/d3d9/d3d9_vertex_declaration.cpp b/src/d3d9/d3d9_vertex_declaration.cpp index 8cbe56c78..05b3c5baa 100644 --- a/src/d3d9/d3d9_vertex_declaration.cpp +++ b/src/d3d9/d3d9_vertex_declaration.cpp @@ -237,7 +237,6 @@ namespace dxvk { if (likely(fvfRet != 0)) return fvfRet; else { - Logger::warn("D3D9VertexDecl::MapD3DDeclToFvf: Unsupported set of D3DDECLUSAGE_BLENDWEIGHT / D3DDECLTYPE_* / UsageIndex"); return 0; } } @@ -256,7 +255,6 @@ namespace dxvk { case 0: return D3DFVF_DIFFUSE; case 1: return D3DFVF_SPECULAR; default: - Logger::warn("D3D9VertexDecl::MapD3DDeclToFvf: Unsupported set of D3DDECLUSAGE_COLOR / D3DDECLTYPE_D3DCOLOR / UsageIndex"); return 0; } } @@ -266,12 +264,10 @@ namespace dxvk { if (likely(MapD3DDeclUsageTexCoordToFvfTexCoordSize(element, fvf, retFvf, texCountPostUpdate))) return retFvf; else { - Logger::warn("D3D9VertexDecl::MapD3DDeclToFvf: Unsupported set of D3DDECLUSAGE_TEXCOORD / D3DDECLTYPE_* / UsageIndex"); return 0; } } - Logger::warn("D3D9VertexDecl::MapD3DDeclToFvf: Unsupported set of D3DDECLUSAGE_* / D3DDECLTYPE_* / UsageIndex"); return 0; }