2015-01-27 13:02:48 +00:00
|
|
|
diff -urN a/CMakeLists.txt b/CMakeLists.txt
|
2015-03-01 23:03:31 +00:00
|
|
|
--- a/CMakeLists.txt 2015-02-21 13:23:27.000000000 -0700
|
|
|
|
+++ b/CMakeLists.txt 2015-03-01 16:00:41.823988772 -0700
|
|
|
|
@@ -393,10 +393,6 @@
|
2014-10-19 18:31:53 +00:00
|
|
|
)
|
|
|
|
endif()
|
|
|
|
|
|
|
|
-if(KWIN_HAVE_EGL)
|
|
|
|
- set(kwin_KDEINIT_SRCS ${kwin_KDEINIT_SRCS} eglonxbackend.cpp)
|
|
|
|
-endif()
|
|
|
|
-
|
|
|
|
if(HAVE_WAYLAND)
|
|
|
|
set(kwin_KDEINIT_SRCS
|
|
|
|
${kwin_KDEINIT_SRCS}
|
2015-01-27 13:02:48 +00:00
|
|
|
diff -urN a/scene_opengl.cpp b/scene_opengl.cpp
|
2015-03-01 23:03:31 +00:00
|
|
|
--- a/scene_opengl.cpp 2015-02-21 13:21:17.000000000 -0700
|
|
|
|
+++ b/scene_opengl.cpp 2015-03-01 16:00:41.838988770 -0700
|
2015-01-27 13:02:48 +00:00
|
|
|
@@ -28,7 +28,6 @@
|
2014-10-19 18:31:53 +00:00
|
|
|
*********************************************************************/
|
|
|
|
#include "scene_opengl.h"
|
|
|
|
#ifdef KWIN_HAVE_EGL
|
|
|
|
-#include "eglonxbackend.h"
|
|
|
|
// for Wayland
|
|
|
|
#if HAVE_WAYLAND_EGL
|
|
|
|
#include "egl_wayland_backend.h"
|
2015-01-27 13:02:48 +00:00
|
|
|
@@ -488,10 +487,10 @@
|
2014-10-19 18:31:53 +00:00
|
|
|
if (kwinApp()->shouldUseWaylandForCompositing()) {
|
|
|
|
backend = new EglWaylandBackend();
|
|
|
|
} else {
|
|
|
|
- backend = new EglOnXBackend();
|
|
|
|
+ backend = NULL;
|
|
|
|
}
|
|
|
|
#else
|
|
|
|
- backend = new EglOnXBackend();
|
|
|
|
+ backend = NULL;
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
break;
|