Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
hidpi
diff --git a/src/components/main/platform/common/glut_windowing.rs b/src/components/main/platform/common/glut_windowing.rs
index 09894d2..f7026b4 100644
--- a/src/components/main/platform/common/glut_windowing.rs
+++ b/src/components/main/platform/common/glut_windowing.rs
@@ -182,7 +182,7 @@ impl WindowMethods<Application> for Window {
fn hidpi_factor(&self) -> f32 {
//FIXME: Do nothing in GLUT now.
- 0f32
+ 1f32
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.