Improve consistency in new iced_wgpu types
This commit is contained in:
parent
fbfd76023b
commit
5f89fab9d7
3 changed files with 4 additions and 2 deletions
|
|
@ -47,7 +47,7 @@ impl Renderer {
|
|||
/// Creates a new [`Renderer`].
|
||||
///
|
||||
/// [`Renderer`]: struct.Renderer.html
|
||||
pub fn new(settings: Settings, device: &mut wgpu::Device) -> Self {
|
||||
pub fn new(device: &mut wgpu::Device, settings: Settings) -> Self {
|
||||
let text_pipeline = text::Pipeline::new(device, settings.default_font);
|
||||
let quad_pipeline = quad::Pipeline::new(device);
|
||||
let image_pipeline = crate::image::Pipeline::new(device);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue