From e82345f2c1286e684789854c7dbe32411bb0b05f Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Sun, 27 Nov 2022 16:28:18 +0200 Subject: [PATCH] Remove an unused function --- source/graphics/x11/display.cpp | 8 -------- 1 file changed, 8 deletions(-) diff --git a/source/graphics/x11/display.cpp b/source/graphics/x11/display.cpp index 482e1c3..b5888c6 100644 --- a/source/graphics/x11/display.cpp +++ b/source/graphics/x11/display.cpp @@ -63,14 +63,6 @@ inline Rotation rotation_to_sys(Msp::Graphics::VideoRotation r) } #endif -inline unsigned mode_width(const Msp::Graphics::VideoMode &m, Msp::Graphics::VideoRotation r) -{ - if(r==Msp::Graphics::ROTATE_RIGHT || r==Msp::Graphics::ROTATE_LEFT) - return m.height; - else - return m.width; -} - } -- 2.43.0