summaryrefslogtreecommitdiff
path: root/src/workarounds.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/workarounds.cpp')
-rw-r--r--src/workarounds.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/workarounds.cpp b/src/workarounds.cpp
index ca83673..54db4d7 100644
--- a/src/workarounds.cpp
+++ b/src/workarounds.cpp
@@ -681,7 +681,11 @@ WorkaroundsScreen::WorkaroundsScreen (CompScreen *screen) :
WorkaroundsScreen::~WorkaroundsScreen ()
{
if (haveOpenGL)
+ {
GL::copySubBuffer = origCopySubBuffer;
+ GL::getVideoSync = origGetVideoSync;
+ GL::waitVideoSync = origWaitVideoSync;
+ }
}
WorkaroundsWindow::WorkaroundsWindow (CompWindow *window) :