Fix wrapper registration from ICanvasEffectFactoryNative

このコミットが含まれているのは:
Sergio Pedri committed 2023-04-26 01:10:00 +02:00
1 親 3c2ec371eb
コミット 823a01c2e6
1ファイル変更
+1 -1
+1 -1
ファイルの表示
@@ -139,7 +139,7 @@ unsafe partial class PixelShaderEffect<T>
// Register the new wrapper for the input resource. This has to be done manually in this
// case, as the effect is not being realized through the usual path from GetD2DImage.
ResourceManager.RegisterWrapper((IUnknown*)resource, this);
ResourceManager.RegisterWrapper((IUnknown*)resource, @this);
// Unwrap the PixelShaderEffect<T> and return its CCW to the caller
RcwMarshaller.GetNativeObject(@this, wrapper);