public void OnInitialized(GLSurface w, EventArgs e) { w.Platform.Invoke(() => w.OnGLInitalized(e)); }
public void OnDraw(GLSurface w, EventArgs e) { w.Platform.Invoke(() => w.OnDraw(e)); }
public void OnShuttingDown(GLSurface w, EventArgs e) { w.Platform.Invoke(() => w.OnShuttingDown(e)); }
public void OnInitialized(GLSurface w, EventArgs e) { using (w.Platform.Context) w.OnGLInitalized(e); }
public void OnDraw(GLSurface w, EventArgs e) { using (w.Platform.Context) w.OnDraw(e); }
public void OnShuttingDown(GLSurface w, EventArgs e) { using (w.Platform.Context) w.OnShuttingDown(e); }