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

Alexandre Julliard julliard at winehq.org
Thu May 28 09:39:42 CDT 2009


Module: wine
Branch: master
Commit: 71382b5cbbd2bbf8eedbe54e644113fc00f2cde2
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=71382b5cbbd2bbf8eedbe54e644113fc00f2cde2

Author: Henri Verbeet <hverbeet at codeweavers.com>
Date:   Thu May 28 08:44:21 2009 +0200

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

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)




More information about the wine-cvs mailing list