Rico Schüller : d3dx9: Fix copy and paste mistake in ID3DXBaseEffect::GetPassDesc().

Alexandre Julliard julliard at winehq.org
Tue May 17 12:52:59 CDT 2011


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

Author: Rico Schüller <kgbricola at web.de>
Date:   Tue May 17 10:16:03 2011 +0200

d3dx9: Fix copy and paste mistake in ID3DXBaseEffect::GetPassDesc().

---

 dlls/d3dx9_36/effect.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/d3dx9_36/effect.c b/dlls/d3dx9_36/effect.c
index f0c44e1..5b32a88 100644
--- a/dlls/d3dx9_36/effect.c
+++ b/dlls/d3dx9_36/effect.c
@@ -817,7 +817,7 @@ static HRESULT WINAPI ID3DXBaseEffectImpl_GetPassDesc(ID3DXBaseEffect *iface, D3
 
     FIXME("Pixel shader and vertex shader are not supported, yet.\n");
     desc->pVertexShaderFunction = NULL;
-    desc->pVertexShaderFunction = NULL;
+    desc->pPixelShaderFunction = NULL;
 
     return D3D_OK;
 }




More information about the wine-cvs mailing list