aboutsummaryrefslogtreecommitdiff
path: root/stride.h
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2019-12-01 13:03:24 +0000
committerDaniel Eklöf <daniel@ekloef.se>2019-12-01 13:03:24 +0000
commit30335ef32ac8d04b4221b5a0988835767f9ea944 (patch)
treecb3ca11c661991a736b48f291326a7464512ecf8 /stride.h
parentREADME: 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.h9
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);
-}