OSDN Git Service

ターゲット変更時にリソースをクリアすることにした
authortest <test@yahoo.co.jp>
Sat, 22 Aug 2020 09:31:56 +0000 (18:31 +0900)
committertest <test@yahoo.co.jp>
Sat, 22 Aug 2020 09:31:56 +0000 (18:31 +0900)
Core/Direct2D/D2DRenderCommon.cs

index cc76282..0f2efbb 100644 (file)
@@ -64,6 +64,7 @@ namespace FooEditEngine
             set
             {
                 this._render = value;
+                this.Clear();
                 if (this.RenderChanged != null)
                     this.RenderChanged(this, null);
             }