[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.
master
Martin Gräßlin 8 years ago
parent 6c8f0e6cc0
commit 83d8181675

@ -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") {

Loading…
Cancel
Save