Stefan Dösinger : wined3d: Downgrade an ERR to a WARN.
Alexandre Julliard
julliard at winehq.org
Tue Nov 27 09:54:31 CST 2007
Module: wine
Branch: master
Commit: 46647e58fad2d7b666c89a7f10495b9c3f6f923c
URL: http://source.winehq.org/git/wine.git/?a=commit;h=46647e58fad2d7b666c89a7f10495b9c3f6f923c
Author: Stefan Dösinger <stefan at codeweavers.com>
Date: Tue Nov 20 21:16:25 2007 +0100
wined3d: Downgrade an ERR to a WARN.
---
dlls/wined3d/device.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/dlls/wined3d/device.c b/dlls/wined3d/device.c
index 8be3385..3ddbc77 100644
--- a/dlls/wined3d/device.c
+++ b/dlls/wined3d/device.c
@@ -6340,7 +6340,8 @@ static HRESULT WINAPI IWineD3DDeviceImpl_SetRenderTarget(IWineD3DDevice *iface,
TRACE("(%p) : Setting rendertarget %d to %p\n", This, RenderTargetIndex, pRenderTarget);
if (RenderTargetIndex >= GL_LIMITS(buffers)) {
- ERR("(%p) : Only %d render targets are supported.\n", This, GL_LIMITS(buffers));
+ WARN("(%p) : Unsupported target %u set, returning WINED3DERR_INVALIDCALL(only %u supported)\n",
+ This, RenderTargetIndex, GL_LIMITS(buffers));
return WINED3DERR_INVALIDCALL;
}
More information about the wine-cvs
mailing list