aboutsummaryrefslogtreecommitdiffstats
path: root/src/win32/mod.rs
diff options
context:
space:
mode:
authortomaka <pierre.krieger1708@gmail.com>2015-01-19 11:27:47 +0100
committertomaka <pierre.krieger1708@gmail.com>2015-01-19 11:27:47 +0100
commitb6f3bfa76811db8c249af08066bfb37bb1385165 (patch)
tree70534d46cd377ef393571bd84a449b4e6d7d0044 /src/win32/mod.rs
parentbcda3631887cf84f09f418946c462211cd7a540c (diff)
parent213f8b85346fda29fa18d03333ca9075b3a74707 (diff)
downloadglutin-b6f3bfa76811db8c249af08066bfb37bb1385165.tar.gz
glutin-b6f3bfa76811db8c249af08066bfb37bb1385165.zip
Merge pull request #211 from glennw/upstream-fixes
Upstream of various fixes and features (details below)
Diffstat (limited to 'src/win32/mod.rs')
-rw-r--r--src/win32/mod.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/win32/mod.rs b/src/win32/mod.rs
index e6964b4..984278a 100644
--- a/src/win32/mod.rs
+++ b/src/win32/mod.rs
@@ -289,6 +289,10 @@ impl Window {
pub fn set_cursor(&self, cursor: MouseCursor) {
unimplemented!()
}
+
+ pub fn hidpi_factor(&self) -> f32 {
+ 1.0
+ }
}
#[unsafe_destructor]