Don't hardcode egl sizes
This commit is contained in:
1 parent
6b73db40e9
commit
f8b86cce22
1 file changed
+3
-2
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user