aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/render/pixel_format.h3
-rw-r--r--include/render/shm_format.h9
2 files changed, 3 insertions, 9 deletions
diff --git a/include/render/pixel_format.h b/include/render/pixel_format.h
index 8814bd82..471fa106 100644
--- a/include/render/pixel_format.h
+++ b/include/render/pixel_format.h
@@ -20,4 +20,7 @@ struct wlr_pixel_format_info {
const struct wlr_pixel_format_info *drm_get_pixel_format_info(uint32_t fmt);
+uint32_t convert_wl_shm_format_to_drm(enum wl_shm_format fmt);
+enum wl_shm_format convert_drm_format_to_wl_shm(uint32_t fmt);
+
#endif
diff --git a/include/render/shm_format.h b/include/render/shm_format.h
deleted file mode 100644
index bf6c8679..00000000
--- a/include/render/shm_format.h
+++ /dev/null
@@ -1,9 +0,0 @@
-#ifndef RENDER_SHM_FORMAT_H
-#define RENDER_SHM_FORMAT_H
-
-#include <wayland-server-protocol.h>
-
-uint32_t convert_wl_shm_format_to_drm(enum wl_shm_format fmt);
-enum wl_shm_format convert_drm_format_to_wl_shm(uint32_t fmt);
-
-#endif