Esempio n. 1
0
 public void OnInitialized(GLSurface w, EventArgs e)
 {
     w.Platform.Invoke(() => w.OnGLInitalized(e));
 }
Esempio n. 2
0
 public void OnDraw(GLSurface w, EventArgs e)
 {
     w.Platform.Invoke(() => w.OnDraw(e));
 }
Esempio n. 3
0
 public void OnShuttingDown(GLSurface w, EventArgs e)
 {
     w.Platform.Invoke(() => w.OnShuttingDown(e));
 }
Esempio n. 4
0
 public void OnInitialized(GLSurface w, EventArgs e)
 {
     using (w.Platform.Context)
         w.OnGLInitalized(e);
 }
Esempio n. 5
0
 public void OnDraw(GLSurface w, EventArgs e)
 {
     using (w.Platform.Context)
         w.OnDraw(e);
 }
Esempio n. 6
0
 public void OnShuttingDown(GLSurface w, EventArgs e)
 {
     using (w.Platform.Context)
         w.OnShuttingDown(e);
 }