Chris Robinson : wined3d: Print real unhandled D3DCMPFUNC value.

Alexandre Julliard julliard at wine.codeweavers.com
Mon Aug 21 05:58:57 CDT 2006


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

Author: Chris Robinson <chris.kcat at gmail.com>
Date:   Sun Aug 20 13:37:04 2006 -0700

wined3d: Print real unhandled D3DCMPFUNC value.

---

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

diff --git a/dlls/wined3d/device.c b/dlls/wined3d/device.c
index 5e303a2..f0e7f26 100644
--- a/dlls/wined3d/device.c
+++ b/dlls/wined3d/device.c
@@ -3685,7 +3685,7 @@ static HRESULT WINAPI IWineD3DDeviceImpl
                 case D3DCMP_GREATEREQUAL:  glParm = GL_GEQUAL; break;
                 case D3DCMP_ALWAYS:        glParm = GL_ALWAYS; break;
                 default:
-                    FIXME("Unrecognized/Unhandled D3DCMPFUNC value %ld\n", Value);
+                    FIXME("Unrecognized/Unhandled D3DCMPFUNC value %ld\n", This->stateBlock->renderState[WINED3DRS_ALPHAFUNC]);
                 }
             }
             This->alphafunc = glParm;




More information about the wine-cvs mailing list