aboutsummaryrefslogtreecommitdiff
path: root/stride.h
diff options
context:
space:
mode:
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);
-}