summaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
Diffstat (limited to 'src/common')
-rw-r--r--src/common/emu_window.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/common/emu_window.h b/src/common/emu_window.h
index 6c2b598f6..ba9d4fa76 100644
--- a/src/common/emu_window.h
+++ b/src/common/emu_window.h
@@ -49,8 +49,11 @@ public:
49 void SetConfig(const WindowConfig& val) { 49 void SetConfig(const WindowConfig& val) {
50 m_config = val; 50 m_config = val;
51 } 51 }
52 52
53 int GetClientAreaWidth() const { 53 /// Gets the size of the window in pixels
54 virtual void GetFramebufferSize(int* fbWidth, int* fbHeight) = 0;
55
56 int GetClientAreaWidth() const {
54 return m_client_area_width; 57 return m_client_area_width;
55 } 58 }
56 59