diff options
author | Emil Velikov <emil.velikov@collabora.com> | 2018-04-02 16:41:23 +0100 |
---|---|---|
committer | Adam Jackson <ajax@redhat.com> | 2018-04-10 15:42:40 -0400 |
commit | 71a069fd7fbe815d386fc1b3c44cda732cff7af0 (patch) | |
tree | 9aaefb41845002ee32c26129d5ad5e5e45aa6d97 /meson.build | |
parent | ac48724639e0a6a9e421b3b4e545d8506fd6bf5d (diff) |
glamor: zero num_formats from the start
The caller may ignore the return value (will be addressed with later
commit) so simply zero the count from the get-go. We're pretty much do
so, in all cases but one :-\
Fixes: cef12efc15c ("glamor: Implement GetSupportedModifiers")
Cc: Louis-Francis Ratté-Boulianne <lfrb@collabora.com>
Cc: Daniel Stone <daniels@collabora.com>
Reviewed-by: Adam Jackson <ajax@redhat.com>
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
Diffstat (limited to 'meson.build')
0 files changed, 0 insertions, 0 deletions