summaryrefslogtreecommitdiff
path: root/graphics/src/lib.rs
diff options
context:
space:
mode:
authorFreya Murphy <freya@freyacat.org>2025-11-11 17:48:54 -0500
committerFreya Murphy <freya@freyacat.org>2025-11-11 17:48:54 -0500
commita1785d7afef427a9d988b55d235489ac4d634674 (patch)
tree78fff5b00fe6d1dc31df5ab2ac25e6b5ff9a095e /graphics/src/lib.rs
parentgraphics: refactor scratch text buf (diff)
downloadDungeonCrawl-a1785d7afef427a9d988b55d235489ac4d634674.tar.gz
DungeonCrawl-a1785d7afef427a9d988b55d235489ac4d634674.tar.bz2
DungeonCrawl-a1785d7afef427a9d988b55d235489ac4d634674.zip
didnt work
Diffstat (limited to 'graphics/src/lib.rs')
-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());