#
# Fixes http://bugs.winehq.org/show_bug.cgi?id=23556
#
From e6eb3d0f06e76812ef8d75ce8e6988a192bf9687 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Florian=20K=C3=B6berle?= <florian@fkoeberle.de>
Date: Sat, 10 Jul 2010 11:58:09 +0200
Subject: [PATCH] wined3d: Let GetRasterStatus return D3DERR_INVALIDCALL.

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

diff --git a/dlls/wined3d/swapchain_base.c b/dlls/wined3d/swapchain_base.c
index 1817de2..3f2a4e5 100644
--- a/dlls/wined3d/swapchain_base.c
+++ b/dlls/wined3d/swapchain_base.c
@@ -131,7 +131,7 @@ HRESULT WINAPI IWineD3DBaseSwapChainImpl_GetRasterStatus(IWineD3DSwapChain *ifac
         FIXME("iface %p, raster_status %p stub!\n", iface, pRasterStatus);
         warned = TRUE;
     }
-    return WINED3D_OK;
+    return WINED3DERR_INVALIDCALL;
 }
 
 HRESULT WINAPI IWineD3DBaseSwapChainImpl_GetDisplayMode(IWineD3DSwapChain *iface, WINED3DDISPLAYMODE*pMode) {
-- 
1.7.0.4

