mirror of
https://github.com/YaLTeR/niri.git
synced 2024-09-11 12:35:58 +03:00
Remove hack for fixed EGLDisplay issue
This commit is contained in:
parent
20326b093c
commit
5f99eb13ab
@ -370,12 +370,6 @@ impl Tty {
|
||||
let display = unsafe { EGLDisplay::new(gbm.clone())? };
|
||||
let egl_device = EGLDevice::device_for_display(&display)?;
|
||||
|
||||
// HACK: There's an issue in Smithay where the display created by GpuManager will be the
|
||||
// same as the one we just created here, so when ours is dropped at the end of the scope,
|
||||
// it will also close the long-lived display in GpuManager. Thus, we need to drop ours
|
||||
// beforehand.
|
||||
drop(display);
|
||||
|
||||
let render_node = egl_device
|
||||
.try_get_render_node()?
|
||||
.context("no render node")?;
|
||||
|
Loading…
Reference in New Issue
Block a user