Unverified Commit e681b220 authored by Zachary Anderson's avatar Zachary Anderson Committed by GitHub

Nth part of async FragmentProgram.fromAsset transition (#108473)

parent 4d5e4d4d
...@@ -520,7 +520,7 @@ class FragmentShaderManager { ...@@ -520,7 +520,7 @@ class FragmentShaderManager {
/// Creates an [FragmentShaderManager] with an [InkSparkle] effect. /// Creates an [FragmentShaderManager] with an [InkSparkle] effect.
static Future<FragmentShaderManager> inkSparkle() async { static Future<FragmentShaderManager> inkSparkle() async {
final FragmentShaderManager manager = FragmentShaderManager._(); final FragmentShaderManager manager = FragmentShaderManager._();
_program = await ui.FragmentProgram.fromAssetAsync( _program = await ui.FragmentProgram.fromAsset(
'shaders/ink_sparkle.frag', 'shaders/ink_sparkle.frag',
); );
return manager; return manager;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment