summaryrefslogtreecommitdiffstatshomepage
path: root/src/osd/modules/render/drawdd.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/osd/modules/render/drawdd.cpp')
-rw-r--r--src/osd/modules/render/drawdd.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/osd/modules/render/drawdd.cpp b/src/osd/modules/render/drawdd.cpp
index 8ba2df0df91..fb82dff3c1f 100644
--- a/src/osd/modules/render/drawdd.cpp
+++ b/src/osd/modules/render/drawdd.cpp
@@ -171,7 +171,7 @@ inline void renderer_dd::update_outer_rects()
}
-INLINE int better_mode(int width0, int height0, int width1, int height1, float desired_aspect)
+static inline int better_mode(int width0, int height0, int width1, int height1, float desired_aspect)
{
float aspect0 = (float)width0 / (float)height0;
float aspect1 = (float)width1 / (float)height1;