From 5cb4d3f0ec76e06e8b66c1b05f5cf3e9eba045bd Mon Sep 17 00:00:00 2001 From: Lucas Murray Date: Sat, 18 Oct 2008 09:37:32 +0000 Subject: [PATCH] Swap bottom and top shadow textures to match the texture coords. svn path=/trunk/KDE/kdebase/workspace/; revision=872817 --- clients/oxygen/oxygen.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/clients/oxygen/oxygen.cpp b/clients/oxygen/oxygen.cpp index 6672132eae..4d576bab0f 100644 --- a/clients/oxygen/oxygen.cpp +++ b/clients/oxygen/oxygen.cpp @@ -205,15 +205,15 @@ QList< QList > OxygenFactory::shadowTextures() p.end(); \ textures.append( dump.toImage() ); - MAKE_TEX( w, h, 0, h ); - MAKE_TEX( 1, h, w, h ); - MAKE_TEX( w, h, w, h ); - MAKE_TEX( w, 1, 0, h ); - //MAKE_TEX( 1, 1, w, h ); - MAKE_TEX( w, 1, w, h ); MAKE_TEX( w, h, 0, 0 ); MAKE_TEX( 1, h, w, 0 ); MAKE_TEX( w, h, w, 0 ); + MAKE_TEX( w, 1, 0, h ); + //MAKE_TEX( 1, 1, w, h ); + MAKE_TEX( w, 1, w, h ); + MAKE_TEX( w, h, 0, h ); + MAKE_TEX( 1, h, w, h ); + MAKE_TEX( w, h, w, h ); delete shadow; textureLists.append( textures );