The guard in the .h file is for XRENDER. So if there is no xrender but there is opengl (which is the case with Xorg 6.9 on Solaris, at least) then the .h file doesn't declare Shader, but the .cpp file tries to define it.

svn path=/trunk/KDE/kdebase/workspace/; revision=820474
remotes/origin/Plasma/5.0
Adriaan de Groot 18 years ago
parent cda254530d
commit 2b96a2063e
  1. 2
      lib/kwinshadereffect.cpp

@ -27,7 +27,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include <assert.h>
#ifdef KWIN_HAVE_OPENGL_COMPOSITING
#ifdef KWIN_HAVE_XRENDER_COMPOSITING
namespace KWin
{

Loading…
Cancel
Save