mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-20 05:33:47 -04:00
fcft: include <fcft/fcft.h>, and use fcft/stride.h instead of local copy
This commit is contained in:
parent
5919b0642c
commit
30335ef32a
6 changed files with 5 additions and 14 deletions
9
stride.h
9
stride.h
|
|
@ -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);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue