summaryrefslogtreecommitdiff
path: root/flyingwindows.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'flyingwindows.cpp')
-rw-r--r--flyingwindows.cpp16
1 files changed, 0 insertions, 16 deletions
diff --git a/flyingwindows.cpp b/flyingwindows.cpp
index 42c53b8..bc18b3a 100644
--- a/flyingwindows.cpp
+++ b/flyingwindows.cpp
@@ -253,22 +253,6 @@ void ScreenFlyingWindows::paintTransformedOutput( const ScreenPaintAttrib* sAttr
glEnable (GL_CULL_FACE);
}
-void ScreenFlyingWindows::paintBackground( Region region, unsigned int mask )
-{
- glColor4us (0xffff, 0xffff, 0xffff, ss->desktopOpacity);
- glEnable (GL_BLEND);
- glBlendFunc (GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
- glTexEnvf (GL_TEXTURE_ENV, GL_TEXTURE_ENV_MODE, GL_MODULATE);
-
- mask |= PAINT_BACKGROUND_ON_TRANSFORMED_SCREEN_MASK;
- ScreenEffect::paintBackground( region, mask );
-
- glColor3usv (defaultColor);
- glDisable (GL_BLEND);
- glBlendFunc (GL_ONE, GL_ONE_MINUS_SRC_ALPHA);
- screenTexEnvMode(s, GL_REPLACE);
-}
-
WindowFlyingWindows::WindowFlyingWindows( CompWindow* w ) :
WindowEffect(w),
active( FALSE ),