File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -223,7 +223,7 @@ private static void Seed<TPixel>()
223223 }
224224
225225 /// <summary>
226- /// Seeds every bulk operation exposed by <see cref="PixelOperations{TPixel}"/>.
226+ /// Seeds the selected <see cref="PixelOperations{TPixel}"/> methods required by Mono WASM AOT .
227227 /// </summary>
228228 /// <typeparam name="TPixel">The pixel format.</typeparam>
229229 [ Preserve ]
@@ -232,8 +232,7 @@ private static void AotCompilePixelOperations<TPixel>()
232232 {
233233 // These default arguments are never consumed. Direct calls are required so the IL contains the exact closed
234234 // MethodSpecs that Mono WASM AOT can otherwise miss when following static-abstract pixel dispatch indirectly.
235- _ = PixelOperations < TPixel > . Instance ;
236- PixelOperations < TPixel > operations = default ;
235+ PixelOperations < TPixel > operations = PixelOperations < TPixel > . Instance ;
237236
238237 _ = operations . GetPixelTypeInfo ( ) ;
239238 _ = operations . GetPixelBlender ( default ( GraphicsOptions ) ) ;
You can’t perform that action at this time.
0 commit comments