summaryrefslogtreecommitdiff
path: root/graphics/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--graphics/src/lib.rs9
1 files changed, 0 insertions, 9 deletions
diff --git a/graphics/src/lib.rs b/graphics/src/lib.rs
index 43bf3ac..2633e8d 100644
--- a/graphics/src/lib.rs
+++ b/graphics/src/lib.rs
@@ -140,15 +140,6 @@ impl<'a> WindowBuilder<'a> {
builder.log_level(TraceLogLevel::LOG_WARNING);
}
- // Set highdpi for wayland (this is only an issue for glfw)
- // Rust binding to not make this accessable
- #[cfg(feature = "wayland")]
- #[cfg(not(feature = "sdl"))]
- unsafe {
- use ffi::ConfigFlags::*;
- ffi::SetConfigFlags(FLAG_WINDOW_HIGHDPI as u32);
- }
-
let (mut handle, thread) = builder.build();
if !handle.is_window_ready() {
return Err("Raylib window not ready!".into());