From 0eec95843fd169a3b4bcf85680380d6de305826c Mon Sep 17 00:00:00 2001 From: Joshua Ashton Date: Fri, 8 Jan 2021 13:49:38 +0000 Subject: [PATCH] [d3d9] Fix warnings with query caching --- src/d3d9/d3d9_query.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/d3d9/d3d9_query.cpp b/src/d3d9/d3d9_query.cpp index bb905401..7ce47cf9 100644 --- a/src/d3d9/d3d9_query.cpp +++ b/src/d3d9/d3d9_query.cpp @@ -239,6 +239,9 @@ namespace dxvk { m_dataCache.VertexStats.NumRenderedTriangles = queryData[0].statistic.iaPrimitives; m_dataCache.VertexStats.NumExtraClippingTriangles = queryData[0].statistic.clipPrimitives; break; + + default: + break; } if (likely(pData && dwSize)) @@ -332,4 +335,4 @@ namespace dxvk { } } -} \ No newline at end of file +}