X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=plugins%2Fdali-sharp%2Fsharp%2Finternal%2FSampler.cs;h=bd40fa199e05c257bcb0de0ec0dbb1f36f95f621;hp=ad11ee23e834274ca7712948717f7dfb18efc2b3;hb=318378db7fbb0bcfb08c3c603f54857d6f5c9639;hpb=6fa08daf440e496896babb230e404aae7e77a5bb diff --git a/plugins/dali-sharp/sharp/internal/Sampler.cs b/plugins/dali-sharp/sharp/internal/Sampler.cs index ad11ee2..bd40fa1 100644 --- a/plugins/dali-sharp/sharp/internal/Sampler.cs +++ b/plugins/dali-sharp/sharp/internal/Sampler.cs @@ -26,7 +26,7 @@ namespace Dali { -public class Sampler : BaseHandle { +internal class Sampler : BaseHandle { private global::System.Runtime.InteropServices.HandleRef swigCPtr; internal Sampler(global::System.IntPtr cPtr, bool cMemoryOwn) : base(NDalicPINVOKE.Sampler_SWIGUpcast(cPtr), cMemoryOwn) { @@ -42,7 +42,7 @@ public class Sampler : BaseHandle { } public override void Dispose() { - if (!Stage.IsInstalled()) { + if (!Window.IsInstalled()) { DisposeQueue.Instance.Add(this); return; }