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

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


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

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

d3d8: 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/d3d8/device.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/d3d8/device.c b/dlls/d3d8/device.c
index 564dc9d9d0..9dd3ef016f 100644
--- a/dlls/d3d8/device.c
+++ b/dlls/d3d8/device.c
@@ -1905,7 +1905,7 @@ static HRESULT WINAPI d3d8_device_BeginStateBlock(IDirect3DDevice8 *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