summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/render.h
diff options
context:
space:
mode:
author Angelo Salese <angelosa@users.noreply.github.com>2012-01-29 16:34:26 +0000
committer Angelo Salese <angelosa@users.noreply.github.com>2012-01-29 16:34:26 +0000
commit505442d0a0bdc2944f699d9102ae0829703a5407 (patch)
tree1a4c2f72533c67984e0112d35905f480a3a9b0ea /src/emu/render.h
parent5d0cb30e84215504e368130db9e4573c37e458f2 (diff)
Clean-ups and version bumpmame0144u7
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; }
};