summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author yz70s <yz70s@users.noreply.github.com>2016-12-18 13:00:11 +0100
committer yz70s <yz70s@users.noreply.github.com>2016-12-25 11:09:36 +0100
commit4d25b92252361ad70f6418e14d28f6c221008917 (patch)
treec9688e81bddaf03d376c38fe45dba6e7059597a7
parent1bb99b3b3b2f77fe2b45c28a2e44fc942e323387 (diff)
poly.h: add method triangles_drawn to get private member m_triangles (nw)
-rw-r--r--src/devices/video/poly.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/devices/video/poly.h b/src/devices/video/poly.h
index d67e570826f..72706e037e3 100644
--- a/src/devices/video/poly.h
+++ b/src/devices/video/poly.h
@@ -130,6 +130,7 @@ public:
// getters
running_machine &machine() const { return m_machine; }
screen_device &screen() const { assert(m_screen != nullptr); return *m_screen; }
+ uint32_t triangles_drawn() const { return m_triangles; }
// synchronization
void wait(const char *debug_reason = "general");