fcft: include <fcft/fcft.h>, and use fcft/stride.h instead of local copy

This commit is contained in:
Daniel Eklöf 2019-12-01 14:03:24 +01:00
parent 5919b0642c
commit 30335ef32a
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
6 changed files with 5 additions and 14 deletions

View file

@ -1,9 +0,0 @@
#pragma once
#include <pixman.h>
static inline int
stride_for_format_and_width(pixman_format_code_t format, int width)
{
return (((PIXMAN_FORMAT_BPP(format) * width + 7) / 8 + 4 - 1) & -4);
}