linux: query window geometry for determining the surface extents
This commit is contained in:
parent
d3562d4c9c
commit
e3ae7c4fe0
2 changed files with 29 additions and 26 deletions
|
@ -299,6 +299,10 @@ impl BladeRenderer {
|
|||
self.viewport_size = size;
|
||||
}
|
||||
|
||||
pub fn viewport_size(&self) -> gpu::Extent {
|
||||
self.viewport_size
|
||||
}
|
||||
|
||||
pub fn atlas(&self) -> &Arc<BladeAtlas> {
|
||||
&self.atlas
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue