Example #1
0
 public void OnDraw(GLSurface w, EventArgs e)
 {
     w.Platform.Invoke(() => w.OnDraw(e));
 }
Example #2
0
 public void OnDraw(GLSurface w, EventArgs e)
 {
     using (w.Platform.Context)
         w.OnDraw(e);
 }