Decouple iris-core from winit
This commit is contained in:
1 parent
072f1e31ad
commit
bc6cdd13c9
4 files changed
+7
-8
No files matched your search
@@ -52,7 +52,7 @@ impl UiRenderer {
|
||||
self.config.width = size.width;
|
||||
self.config.height = size.height;
|
||||
self.surface.configure(&self.device, &self.config);
|
||||
self.ui.resize(size, &self.queue);
|
||||
self.ui.resize((size.width, size.height), &self.queue);
|
||||
}
|
||||
|
||||
fn create_encoder(device: &Device) -> CommandEncoder {
|
||||
|
||||
Reference in new issue
Block a user