wined3d: Only print a warning about render target usage in wined3d_device_set_render_target().
This commit is contained in:
parent
31de4f1670
commit
49c6b87a32
|
@ -3997,7 +3997,7 @@ HRESULT CDECL wined3d_device_set_render_target(struct wined3d_device *device,
|
||||||
|
|
||||||
if (render_target && !(render_target->resource.usage & WINED3DUSAGE_RENDERTARGET))
|
if (render_target && !(render_target->resource.usage & WINED3DUSAGE_RENDERTARGET))
|
||||||
{
|
{
|
||||||
FIXME("Surface %p doesn't have render target usage.\n", render_target);
|
WARN("Surface %p doesn't have render target usage.\n", render_target);
|
||||||
return WINED3DERR_INVALIDCALL;
|
return WINED3DERR_INVALIDCALL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue