Move Program to application module
This commit is contained in:
parent
7e1ef7d150
commit
54f44754eb
29 changed files with 58 additions and 80 deletions
|
|
@ -9,13 +9,9 @@ use iced::window;
|
|||
use iced::{Alignment, Color, Element, Length, Subscription};
|
||||
|
||||
fn main() -> iced::Result {
|
||||
iced::application(
|
||||
"Custom Shader - Iced",
|
||||
IcedCubes::update,
|
||||
IcedCubes::view,
|
||||
)
|
||||
.subscription(IcedCubes::subscription)
|
||||
.run()
|
||||
iced::program("Custom Shader - Iced", IcedCubes::update, IcedCubes::view)
|
||||
.subscription(IcedCubes::subscription)
|
||||
.run()
|
||||
}
|
||||
|
||||
struct IcedCubes {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue