Remove unneeded HACK for NVIDIA
This hack was already removed with da3d880b8af35c97c5a46f9ed253b5885eb9a462 I do not understand what readded it
This commit is contained in:
parent
57d11c134a
commit
2920715d4d
1 changed files with 0 additions and 5 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue