remove make_current() from flip

This commit is contained in:
David Rose 2004-02-28 00:26:18 +00:00
parent 2bf87f010a
commit a6df37d6b0

View File

@ -142,7 +142,13 @@ begin_frame() {
void glxGraphicsWindow::
begin_flip() {
if (_gsg != (GraphicsStateGuardian *)NULL) {
make_current();
// It doesn't appear to be necessary to ensure the graphics
// context is current before flipping the windows, and insisting
// on doing so can be a significant performance hit.
// make_current();
glXSwapBuffers(_display, _xwindow);
}
}