summaryrefslogtreecommitdiffstats
path: root/examples/custom_shader/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'examples/custom_shader/src/main.rs')
-rw-r--r--examples/custom_shader/src/main.rs10
1 files changed, 7 insertions, 3 deletions
diff --git a/examples/custom_shader/src/main.rs b/examples/custom_shader/src/main.rs
index 463b2df9..b04a8183 100644
--- a/examples/custom_shader/src/main.rs
+++ b/examples/custom_shader/src/main.rs
@@ -9,9 +9,13 @@ use iced::window;
use iced::{Alignment, Color, Element, Length, Subscription};
fn main() -> iced::Result {
- iced::program("Custom Shader - Iced", IcedCubes::update, IcedCubes::view)
- .subscription(IcedCubes::subscription)
- .run()
+ iced::application(
+ "Custom Shader - Iced",
+ IcedCubes::update,
+ IcedCubes::view,
+ )
+ .subscription(IcedCubes::subscription)
+ .run()
}
struct IcedCubes {