[6/6] d3drm: Improve IDirect3DRMViewportX_Render stub

André Hentschel nerv at dawncrow.de
Thu Jun 7 06:49:30 CDT 2012


---
 dlls/d3drm/viewport.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/d3drm/viewport.c b/dlls/d3drm/viewport.c
index 320cc98..33fde1f 100644
--- a/dlls/d3drm/viewport.c
+++ b/dlls/d3drm/viewport.c
@@ -216,7 +216,7 @@ static HRESULT WINAPI IDirect3DRMViewportImpl_Render(IDirect3DRMViewport* iface,
 
     FIXME("(%p/%p)->(%p): stub\n", iface, This, frame);
 
-    return E_NOTIMPL;
+    return D3DRM_OK;
 }
 
 static HRESULT WINAPI IDirect3DRMViewportImpl_SetFront(IDirect3DRMViewport* iface, D3DVALUE front)
@@ -637,7 +637,7 @@ static HRESULT WINAPI IDirect3DRMViewport2Impl_Render(IDirect3DRMViewport2* ifac
 
     FIXME("(%p/%p)->(%p): stub\n", iface, This, frame);
 
-    return E_NOTIMPL;
+    return D3DRM_OK;
 }
 
 static HRESULT WINAPI IDirect3DRMViewport2Impl_SetFront(IDirect3DRMViewport2* iface, D3DVALUE front)
-- 

Best Regards, André Hentschel


More information about the wine-patches mailing list