diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2019-12-01 13:03:24 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2019-12-01 13:03:24 +0000 |
| commit | 30335ef32ac8d04b4221b5a0988835767f9ea944 (patch) | |
| tree | cb3ca11c661991a736b48f291326a7464512ecf8 /stride.h | |
| parent | README: add tllist and fcft to list of required libraries (diff) | |
fcft: include <fcft/fcft.h>, and use fcft/stride.h instead of local copy
Diffstat (limited to 'stride.h')
| -rw-r--r-- | stride.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/stride.h b/stride.h deleted file mode 100644 index b2c71a71..00000000 --- a/stride.h +++ /dev/null @@ -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); -} |
