28 Jan
2016
28 Jan
'16
1:51 p.m.
On 28 January 2016 at 00:17, Józef Kucia <jkucia(a)codeweavers.com> wrote:
@@ -1412,6 +1412,12 @@ HRESULT CDECL wined3d_device_set_stream_source_freq(struct wined3d_device *devic return WINED3DERR_INVALIDCALL; }
+ if (stream_idx >= MAX_STREAMS) + { + FIXME("Stream index %u out of range.\n", stream_idx); + return WINED3DERR_INVALIDCALL; + } This would have to be a WARN instead of a FIXME, but in general we don't do this in wined3d unless we have to.