Example #1
0
 private void Reload()
 {
     Window.Current.InvokeOnRendering(() => {
         if (reloader != null)
         {
             reloader.Reload(this);
         }
         else
         {
             PrepareOpenGLTexture();
             PlatformRenderer.CheckErrors();
         }
     });
 }
Example #2
0
 private void Reload()
 {
     Application.InvokeOnMainThread(() => {
         if (reloader != null)
         {
             reloader.Reload(this);
         }
         else
         {
             PrepareOpenGLTexture();
             PlatformRenderer.CheckErrors();
         }
     });
 }