From: Mikko Rasa Date: Sun, 27 Nov 2022 14:28:18 +0000 (+0200) Subject: Remove an unused function X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=e82345f2c1286e684789854c7dbe32411bb0b05f;p=libs%2Fgui.git Remove an unused function --- 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; -} - }