summaryrefslogtreecommitdiff
path: root/src/video/allegro_v.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/video/allegro_v.cpp')
-rw-r--r--src/video/allegro_v.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/video/allegro_v.cpp b/src/video/allegro_v.cpp
index 0c064873b..3d8ca65aa 100644
--- a/src/video/allegro_v.cpp
+++ b/src/video/allegro_v.cpp
@@ -236,6 +236,16 @@ bool VideoDriver_Allegro::ClaimMousePointer()
return true;
}
+std::vector<int> VideoDriver_Allegro::GetListOfMonitorRefreshRates()
+{
+ std::vector<int> rates = {};
+
+ int refresh_rate = get_refresh_rate();
+ if (refresh_rate != 0) rates.push_back(refresh_rate);
+
+ return rates;
+}
+
struct AllegroVkMapping {
uint16 vk_from;
byte vk_count;