Commit 83d81816 authored by Martin Flöser's avatar Martin Flöser
Browse files

[libkwinglutils] Revert version hack for Qualcomm Adreno on libhybris

The idea to set proper version is good, but it results in epoxy
thinking it does not have the entry points and terminating KWin.
parent 6c8f0e6c
......@@ -7,7 +7,7 @@ ShadingLanguageVersion=OpenGL ES GLSL ES 3.00
[Settings]
GLSL=true
TextureNPOT=true
GLVersion=3,0
GLVersion=2,0
GLSLVersion=3,0
GLES=true
Adreno=true
......
......@@ -800,12 +800,6 @@ void GLPlatform::detect(OpenGLPlatformInterface platformInterface)
else if (m_vendor == "Qualcomm") {
m_driver = Driver_Qualcomm;
m_chipClass = detectQualcommClass(m_renderer);
// version specific overwrite for libhybris disabling OpenGL ES 3
if (isGLES() && m_glVersion == kVersionNumber(2, 0) && m_glslVersion >= kVersionNumber(3, 0)) {
if (m_version.contains("OpenGL ES 3.0")) {
m_glVersion = kVersionNumber(3, 0);
}
}
}
else if (m_renderer == "Software Rasterizer") {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment