d3d10core: Don't complain as much about setting a NULL geometry shader.

Henri Verbeet hverbeet at codeweavers.com
Thu May 28 01:44:21 CDT 2009


Setting a NULL geometry shader doesn't hurt much, and it reduces console spam
a bit.
---
 dlls/d3d10core/device.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/dlls/d3d10core/device.c b/dlls/d3d10core/device.c
index 15e0184..de07db7 100644
--- a/dlls/d3d10core/device.c
+++ b/dlls/d3d10core/device.c
@@ -236,7 +236,8 @@ static void STDMETHODCALLTYPE d3d10_device_GSSetConstantBuffers(ID3D10Device *if
 
 static void STDMETHODCALLTYPE d3d10_device_GSSetShader(ID3D10Device *iface, ID3D10GeometryShader *shader)
 {
-    FIXME("iface %p, shader %p stub!\n", iface, shader);
+    if (shader) FIXME("iface %p, shader %p stub!\n", iface, shader);
+    else WARN("iface %p, shader %p stub!\n", iface, shader);
 }
 
 static void STDMETHODCALLTYPE d3d10_device_IASetPrimitiveTopology(ID3D10Device *iface, D3D10_PRIMITIVE_TOPOLOGY topology)
-- 
1.6.0.6



--------------090604040005090303050106--



More information about the wine-patches mailing list