Re: [v5 1/3] d3dx9: Remove redundant parameter size check in set_constants().
27 Jun
2017
27 Jun
'17
6:32 p.m.
2017-06-22 15:11 GMT+02:00 Paul Gofman <gofmanp(a)gmail.com>:
Signed-off-by: Paul Gofman <gofmanp(a)gmail.com> --- v5: - Removed assert for parameter data length. The check for constant size not exceeding parameter size is in the next patch. Otherwise the code would be changed right in the next patch after modifying get_const_upload_info(), while before that the check is redundant.
Yeah, it would have been slightly preferable with the check in a separate patch before this one. The check would have been redundant in practice but that's a bit of an "implementation detail". Certainly not a big deal though.
3091
Age (days ago)
3091
Last active (days ago)
0 comments
1 participants
participants (1)
-
Matteo Bruni