mirror of
https://github.com/wez/wezterm.git
synced 2024-12-24 13:52:55 +03:00
Don't hardcode egl sizes
This commit is contained in:
parent
6b73db40e9
commit
f8b86cce22
@ -562,8 +562,9 @@ impl WaylandWindowInner {
|
||||
let object_id = window.wl_surface().id();
|
||||
|
||||
wegl_surface = Some(WlEglSurface::new(
|
||||
object_id, // TODO: remove the hardcoded stuff
|
||||
100, 100,
|
||||
object_id,
|
||||
self.dimensions.pixel_width as i32,
|
||||
self.dimensions.pixel_height as i32,
|
||||
)?);
|
||||
|
||||
log::trace!("WEGL Surface here {:?}", wegl_surface);
|
||||
|
Loading…
Reference in New Issue
Block a user