From e36d9d5165ac257af70b2df56ea9b27f32117225 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Gr=C3=A4=C3=9Flin?= Date: Thu, 20 Dec 2012 21:44:10 +0100 Subject: [PATCH] Do not block OpenGL 2 when build for gles due to driver recommendation Let's assume a user knows what she is doing when she selects kwin_gles instead of kwin. Also in gles there is no fallback to OpenGL 1 possible so blocking is not the proper solution in the first place. BUG: 311712 FIXED-IN: 4.10 RC 2 REVIEW: 107824 --- scene_opengl.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scene_opengl.cpp b/scene_opengl.cpp index 03a31cf92d..6cf62c668d 100644 --- a/scene_opengl.cpp +++ b/scene_opengl.cpp @@ -462,7 +462,9 @@ bool SceneOpenGL2::supported(OpenGLBackend *backend) } if (GLPlatform::instance()->recommendedCompositor() < OpenGL2Compositing) { kDebug(1212) << "Driver does not recommend OpenGL 2 compositing"; +#ifndef KWIN_HAVE_OPENGLES return false; +#endif } if (options->isGlLegacy()) { kDebug(1212) << "OpenGL 2 disabled by config option";