On 16 August 2017 at 20:30, Jason Ekstrand <[email protected]> wrote:
> +/** Get the number of planes that are required for a given format+modifier
> + *
> + * \param gbm The gbm device returned from gbm_create_device()
> + * \param format The format to query
> + * \param modifier The modifier to query
> + */
> +int
> +gbm_device_get_format_modifier_plane_count(struct gbm_device *gbm,
> +                                           uint32_t format,
> +                                           uint64_t modifier)
> +{
> +   return gbm->get_format_modifier_plane_count(gbm, modifier, format);

format, modifier - not vice-versa.

Cheers,
Daniel
_______________________________________________
mesa-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to