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