Zebediah Figura : d3d9: Fix a copy-paste error.

Alexandre Julliard julliard at winehq.org
Wed Nov 27 16:32:28 CST 2019


Module: wine
Branch: master
Commit: 1367a2dc4ec49c5f545e3e61b823ca2587dbe43e
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=1367a2dc4ec49c5f545e3e61b823ca2587dbe43e

Author: Zebediah Figura <z.figura12 at gmail.com>
Date:   Tue Nov 26 22:58:23 2019 -0600

d3d9: Fix a copy-paste error.

Signed-off-by: Zebediah Figura <z.figura12 at gmail.com>
Signed-off-by: Henri Verbeet <hverbeet at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/d3d9/device.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/d3d9/device.c b/dlls/d3d9/device.c
index 0657cc2f76..58bdd7458c 100644
--- a/dlls/d3d9/device.c
+++ b/dlls/d3d9/device.c
@@ -2403,7 +2403,7 @@ static HRESULT WINAPI d3d9_device_BeginStateBlock(IDirect3DDevice9Ex *iface)
     if (device->recording)
     {
         wined3d_mutex_unlock();
-        WARN("Trying to begin a stateblock while recording, returning D3DERR_INBEGINSTATEBLOCK.\n");
+        WARN("Trying to begin a stateblock while recording, returning D3DERR_INVALIDCALL.\n");
         return D3DERR_INVALIDCALL;
     }
 




More information about the wine-cvs mailing list