/// <summary> /// Swap the buffers of a device. /// </summary> public override void SwapBuffers() { using (Glx.XLock displayLock = new Glx.XLock(Display)) { Glx.SwapBuffers(Display, _WindowHandle); } }