0 is never an invalid capset id. For an invalid capset id, we have to assume caps points to a buffer of size 0 (what vrend_renderer_get_cap_set reports). We can't set caps->max_version. Signed-off-by: Chia-I Wu <olvaffe@gmail.com> Reviewed-by: Gert Wollny <gert.wollny@collabra.com>macos/master
parent
0e272c3fe3
commit
922435f279
Loading…
Reference in new issue