diff options
Diffstat (limited to 'src/osd/sdl/video.h')
-rw-r--r-- | src/osd/sdl/video.h | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/src/osd/sdl/video.h b/src/osd/sdl/video.h index e8c24874f5e..780006d770c 100644 --- a/src/osd/sdl/video.h +++ b/src/osd/sdl/video.h @@ -65,12 +65,10 @@ class sdl_monitor_info public: sdl_monitor_info() - : m_next(NULL), m_handle(0), m_aspect(0.0f), - m_center_width(0), m_center_height(0) + : m_next(NULL), m_handle(0), m_aspect(0.0f) {} sdl_monitor_info(const UINT64 handle, const char *monitor_device, float aspect) - : m_next(NULL), m_handle(handle), m_aspect(aspect), - m_center_width(0), m_center_height(0) + : m_next(NULL), m_handle(handle), m_aspect(aspect) { strncpy(m_monitor_device, monitor_device, 64); refresh(); @@ -83,9 +81,6 @@ public: float aspect(); - int center_width() { refresh(); return m_center_width; } - int center_height() { refresh(); return m_center_height; } - void set_aspect(const float aspect) { m_aspect = aspect; } // STATIC @@ -111,10 +106,6 @@ private: SDL_Rect m_dimensions; char m_monitor_device[64]; float m_aspect; // computed/configured aspect ratio of the physical device - int m_center_width; // width of first physical screen for centering - int m_center_height; // height of first physical screen for centering - - }; |