PKGBUILDs/extra/kwin/kwin_remove_eglonxbackend.patch

33 lines
1,010 B
Diff
Raw Normal View History

2015-01-27 13:02:48 +00:00
diff -urN a/CMakeLists.txt b/CMakeLists.txt
2015-05-04 00:03:21 +00:00
--- a/CMakeLists.txt 2015-04-23 04:08:00.000000000 -0600
+++ b/CMakeLists.txt 2015-05-03 17:59:09.416829142 -0600
@@ -414,7 +414,7 @@
endif()
if(KWIN_HAVE_EGL)
- set(kwin_KDEINIT_SRCS ${kwin_KDEINIT_SRCS} abstract_egl_backend.cpp eglonxbackend.cpp)
+ set(kwin_KDEINIT_SRCS ${kwin_KDEINIT_SRCS} abstract_egl_backend.cpp)
endif()
if(HAVE_WAYLAND)
2015-01-27 13:02:48 +00:00
diff -urN a/scene_opengl.cpp b/scene_opengl.cpp
2015-05-04 00:03:21 +00:00
--- a/scene_opengl.cpp 2015-04-23 04:06:05.000000000 -0600
+++ b/scene_opengl.cpp 2015-05-03 17:59:40.756785872 -0600
2015-01-27 13:02:48 +00:00
@@ -28,7 +28,6 @@
*********************************************************************/
#include "scene_opengl.h"
#ifdef KWIN_HAVE_EGL
-#include "eglonxbackend.h"
2015-05-04 00:03:21 +00:00
#endif // KWIN_HAVE_EGL
#ifndef KWIN_HAVE_OPENGLES
#include "glxbackend.h"
@@ -501,7 +500,7 @@
} else
#endif // HAVE_WAYLAND
{
- backend = new EglOnXBackend();
+ backend = NULL;
}
2015-05-04 00:03:21 +00:00
#endif // KWIN_HAVE_EGL
break;