diff options
author | Emil Velikov <emil.velikov@collabora.com> | 2018-04-02 16:41:19 +0100 |
---|---|---|
committer | Adam Jackson <ajax@redhat.com> | 2018-04-10 15:42:40 -0400 |
commit | 150e4b12ad160b093899107ed586aa0cb258879e (patch) | |
tree | 41ccd521b59bed12e2f6a8e9e10805a63a189e38 /dri3 | |
parent | b36a14c0b0e7e38406622eb5ff0666a8b8bc50f4 (diff) |
glamor: zero num_modifiers 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 'dri3')
0 files changed, 0 insertions, 0 deletions