public override void SwapBuffers() { if (!Egl.SwapBuffers(WindowInfo.Display, WindowInfo.Surface)) { throw new GraphicsContextException(string.Format("Failed to swap buffers for context {0} current. Error: {1}", Handle, Egl.GetError())); } }
public override void SwapBuffers() { Egl.SwapBuffers(WindowInfo.Display, WindowInfo.Surface); }