We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c3dc3b6 commit 088f8e4Copy full SHA for 088f8e4
glutin/src/platform_impl/unix/x11.rs
@@ -122,16 +122,6 @@ where
122
cb.plat_attr.x11_visual_xid,
123
);
124
125
- let pict_format = unsafe {
126
- (xconn.xrender.XRenderFindVisualFormat)(
127
- xconn.display as *mut _,
128
- visual_infos.visual,
129
- )
130
- };
131
- if pict_format.is_null() {
132
- continue;
133
- }
134
-
135
match (lacks_what, &this_lacks_what) {
136
(Some(Ok(())), _) => unreachable!(),
137
glutin_examples/Cargo.toml
@@ -12,6 +12,7 @@ publish = false
12
13
[dependencies]
14
glutin = { path = "../glutin" }
15
+glutin_lighter = { path = "../glutin_lighter" }
16
winit = "0.19"
17
takeable-option = "0.5"
18
image = "0.21"
0 commit comments