aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/protocols/ToplevelExportWlrFuncs.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/protocols/ToplevelExportWlrFuncs.hpp')
-rw-r--r--src/protocols/ToplevelExportWlrFuncs.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/protocols/ToplevelExportWlrFuncs.hpp b/src/protocols/ToplevelExportWlrFuncs.hpp
index bd34be2f..97bf96f8 100644
--- a/src/protocols/ToplevelExportWlrFuncs.hpp
+++ b/src/protocols/ToplevelExportWlrFuncs.hpp
@@ -171,13 +171,13 @@ static const struct wlr_pixel_format_info* drm_get_pixel_format_info(uint32_t fm
return NULL;
}
-static uint32_t convert_wl_shm_format_to_drm(enum wl_shm_format fmt) {
+/*static uint32_t convert_wl_shm_format_to_drm(enum wl_shm_format fmt) {
switch (fmt) {
case WL_SHM_FORMAT_XRGB8888: return DRM_FORMAT_XRGB8888;
case WL_SHM_FORMAT_ARGB8888: return DRM_FORMAT_ARGB8888;
default: return (uint32_t)fmt;
}
-}
+}*/
static enum wl_shm_format convert_drm_format_to_wl_shm(uint32_t fmt) {
switch (fmt) {