From 2920715d4d1865a00e0a6df77593dda1927f515e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Gr=C3=A4=C3=9Flin?= Date: Sat, 19 Feb 2011 10:32:11 +0100 Subject: [PATCH] Remove unneeded HACK for NVIDIA This hack was already removed with da3d880b8af35c97c5a46f9ed253b5885eb9a462 I do not understand what readded it --- libkwineffects/kwinglutils.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/libkwineffects/kwinglutils.cpp b/libkwineffects/kwinglutils.cpp index f9e8f9eea5..c7571b6188 100644 --- a/libkwineffects/kwinglutils.cpp +++ b/libkwineffects/kwinglutils.cpp @@ -1239,11 +1239,6 @@ GLShader *ShaderManager::loadShaderFromCode(const QByteArray &vertexSource, cons void ShaderManager::initShaders() { - // HACK: the generic shaders fail with NVIDIA's blob - // temporarily disable them to force kwin on GL 1.x profile - if (GLPlatform::instance()->driver() == Driver_NVidia) { - return; - } m_orthoShader = new GLShader(":/resources/scene-vertex.glsl", ":/resources/scene-fragment.glsl"); if (m_orthoShader->isValid()) { pushShader(SimpleShader, true);