Skip to content

Commit 088f8e4

Browse files
committed
Minor changes.
Signed-off-by: Hal Gentz <zegentzy@protonmail.com>
1 parent c3dc3b6 commit 088f8e4

File tree

2 files changed

+1
-10
lines changed

2 files changed

+1
-10
lines changed

glutin/src/platform_impl/unix/x11.rs

-10
Original file line numberDiff line numberDiff line change
@@ -122,16 +122,6 @@ where
122122
cb.plat_attr.x11_visual_xid,
123123
);
124124

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-
135125
match (lacks_what, &this_lacks_what) {
136126
(Some(Ok(())), _) => unreachable!(),
137127

glutin_examples/Cargo.toml

+1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ publish = false
1212

1313
[dependencies]
1414
glutin = { path = "../glutin" }
15+
glutin_lighter = { path = "../glutin_lighter" }
1516
winit = "0.19"
1617
takeable-option = "0.5"
1718
image = "0.21"

0 commit comments

Comments
 (0)