summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/render.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/emu/render.h')
-rw-r--r--src/emu/render.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emu/render.h b/src/emu/render.h
index 980816300fe..8171d4b6145 100644
--- a/src/emu/render.h
+++ b/src/emu/render.h
@@ -190,7 +190,7 @@ struct render_bounds
float y0; // topmost Y coordinate
float x1; // rightmost X coordinate
float y1; // bottommost Y coordinate
-
+
float width() const { return x1 - x0; }
float height() const { return y1 - y0; }
};