gen_table_fourcc: strip _MODIFIER suffix for INVALID
This is the only modifier printed with a "_MODIFIER" suffix. It looks inconsistent when callers already print this word (e.g. "modifier: INVALID_MODIFIER"). Signed-off-by: Simon Ser <contact@emersion.fr> Reviewed-by: Marius Vlad <marius.vlad@collabora.com>main
parent
f801b07a60
commit
3bede5dbbc
|
@ -56,7 +56,7 @@ with open(towrite, "w") as f:
|
|||
that script instead of adding here entries manually! */
|
||||
static const struct drmFormatModifierInfo drm_format_modifier_table[] = {
|
||||
''')
|
||||
f.write(' { DRM_MODIFIER_INVALID(NONE, INVALID_MODIFIER) },\n')
|
||||
f.write(' { DRM_MODIFIER_INVALID(NONE, INVALID) },\n')
|
||||
f.write(' { DRM_MODIFIER_LINEAR(NONE, LINEAR) },\n')
|
||||
|
||||
for entry in fm_re['intel']:
|
||||
|
|
Loading…
Reference in New Issue