Re: [PATCH] wined3d: Dont just print a FIXME on error, handle it (Coverity)
11 Jun
2011
11 Jun
'11
9:52 a.m.
On Saturday 11 June 2011 11:17:58 Marcus Meissner wrote:
else + { FIXME("Unhandled transform state %#x.\n", state); + return WINED3DERR_INVALIDCALL; + }
Please return WINED3D_OK, like wined3d_device_set_sampler_state and other setters. Native doesn't do this kind of consistency checking, so apps will get D3D_OK returned if they pass an out of range state(unless the setter segfaults).
5302
Age (days ago)
5302
Last active (days ago)
0 comments
1 participants
participants (1)
-
Stefan Dösinger