summaryrefslogtreecommitdiff
path: root/dxr3interface.c
diff options
context:
space:
mode:
Diffstat (limited to 'dxr3interface.c')
-rw-r--r--dxr3interface.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/dxr3interface.c b/dxr3interface.c
index 99684ad..64bdb91 100644
--- a/dxr3interface.c
+++ b/dxr3interface.c
@@ -259,6 +259,18 @@ void cDxr3Interface::SetAspectRatio(uint32_t ratio)
Unlock();
}
+
+void cDxr3Interface::setDimension(uint32_t horizontal, uint32_t vertical)
+{
+ if (horizontal > 0) {
+ m_horizontal = horizontal;
+ }
+
+ if (vertical > 0) {
+ m_vertical = vertical;
+ }
+}
+
// play functions
// ==================================
//! set playing mode and start sync engine