summaryrefslogtreecommitdiff
path: root/engine/src/rendering/backend
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2026-06-26 22:53:25 +0200
committerHampusM <hampus@hampusmat.com>2026-06-30 18:24:46 +0200
commit4a5e3e612e8b597dd1734afefd01324b74fd99ab (patch)
treebd875cc1ca639b2cc957fb9746e6a816fc2e4047 /engine/src/rendering/backend
parent3cdd8c99bac3833bef0c4795aab1fde8d71e59df (diff)
refactor(engine): make window creation attrs struct not a wrapper
Diffstat (limited to 'engine/src/rendering/backend')
-rw-r--r--engine/src/rendering/backend/opengl/glutin_compat.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/src/rendering/backend/opengl/glutin_compat.rs b/engine/src/rendering/backend/opengl/glutin_compat.rs
index ab8df90..f4d20e9 100644
--- a/engine/src/rendering/backend/opengl/glutin_compat.rs
+++ b/engine/src/rendering/backend/opengl/glutin_compat.rs
@@ -234,7 +234,7 @@ fn finalize_window_creation_attrs(
#[cfg(target_os = "linux")]
if let Some(x11_visual) = glutin::platform::x11::X11GlConfigExt::x11_visual(gl_config)
{
- return attributes.with_x11_visual(x11_visual.visual_id() as _);
+ return attributes.with_x_visual_id(Some(x11_visual.visual_id() as crate::windowing::window::XVisualID));
}
attributes