From b09d333d14be63c1ee53ae20a9291db475b7fdcf Mon Sep 17 00:00:00 2001 From: Steve Checkoway Date: Sat, 11 Feb 2006 09:31:39 +0000 Subject: [PATCH] Add placeholder. --- stepmania/src/arch/LowLevelWindow/LowLevelWindow_X11.cpp | 5 +++++ stepmania/src/arch/LowLevelWindow/LowLevelWindow_X11.h | 1 + 2 files changed, 6 insertions(+) diff --git a/stepmania/src/arch/LowLevelWindow/LowLevelWindow_X11.cpp b/stepmania/src/arch/LowLevelWindow/LowLevelWindow_X11.cpp index 4c457e51cc..06393b7ea1 100644 --- a/stepmania/src/arch/LowLevelWindow/LowLevelWindow_X11.cpp +++ b/stepmania/src/arch/LowLevelWindow/LowLevelWindow_X11.cpp @@ -304,6 +304,11 @@ void LowLevelWindow_X11::GetDisplayResolutions( DisplayResolutions &out ) const } } +float LowLevelWindow_X11::GetMonitorAspectRatio() const +{ + return 4.0f/3; +} + bool LowLevelWindow_X11::SupportsThreadedRendering() { return g_pBackgroundContext != NULL; diff --git a/stepmania/src/arch/LowLevelWindow/LowLevelWindow_X11.h b/stepmania/src/arch/LowLevelWindow/LowLevelWindow_X11.h index b0bb17a7b4..afd42622da 100644 --- a/stepmania/src/arch/LowLevelWindow/LowLevelWindow_X11.h +++ b/stepmania/src/arch/LowLevelWindow/LowLevelWindow_X11.h @@ -20,6 +20,7 @@ public: const VideoModeParams &GetActualVideoModeParams() const { return CurrentParams; } void GetDisplayResolutions( DisplayResolutions &out ) const; + float GetMonitorAspectRatio() const; bool SupportsThreadedRendering(); void BeginConcurrentRenderingMainThread();