commit:     23c2514d4597809769300c80e6f275b7db4c9eb6
Author:     Michael Mair-Keimberger <m.mairkeimberger <AT> gmail <DOT> com>
AuthorDate: Mon Mar 25 18:19:21 2019 +0000
Commit:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Mon Mar 25 20:29:19 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=23c2514d

x11-apps/mesa-progs: remove unused patch

Signed-off-by: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/11502
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>

 ...sa-progs-8.2.0-remove-EGL_SCREEN_BIT_MESA.patch | 33 ----------------------
 1 file changed, 33 deletions(-)

diff --git 
a/x11-apps/mesa-progs/files/mesa-progs-8.2.0-remove-EGL_SCREEN_BIT_MESA.patch 
b/x11-apps/mesa-progs/files/mesa-progs-8.2.0-remove-EGL_SCREEN_BIT_MESA.patch
deleted file mode 100644
index f0389cb8d9c..00000000000
--- 
a/x11-apps/mesa-progs/files/mesa-progs-8.2.0-remove-EGL_SCREEN_BIT_MESA.patch
+++ /dev/null
@@ -1,33 +0,0 @@
-diff --git a/src/egl/eglut/eglut.c b/src/egl/eglut/eglut.c
-index 2ee6f15..9921746 100644
---- a/src/egl/eglut/eglut.c
-+++ b/src/egl/eglut/eglut.c
-@@ -76,8 +76,7 @@ _eglutNow(void)
- static void
- _eglutDestroyWindow(struct eglut_window *win)
- {
--   if (_eglut->surface_type != EGL_PBUFFER_BIT &&
--       _eglut->surface_type != EGL_SCREEN_BIT_MESA)
-+   if (_eglut->surface_type != EGL_PBUFFER_BIT)
-       eglDestroySurface(_eglut->dpy, win->surface);
- 
-    _eglutNativeFiniWindow(win);
-@@ -175,7 +174,6 @@ _eglutCreateWindow(const char *title, int x, int y, int w, 
int h)
-             win->config, win->native.u.pixmap, NULL);
-       break;
-    case EGL_PBUFFER_BIT:
--   case EGL_SCREEN_BIT_MESA:
-       win->surface = win->native.u.surface;
-       break;
-    default:
-@@ -289,9 +287,7 @@ eglutDestroyWindow(int win)
-    if (window->index != win)
-       return;
- 
--   /* XXX it causes some bug in st/egl KMS backend */
--   if ( _eglut->surface_type != EGL_SCREEN_BIT_MESA)
--      eglMakeCurrent(_eglut->dpy, EGL_NO_SURFACE, EGL_NO_SURFACE, 
EGL_NO_CONTEXT);
-+   eglMakeCurrent(_eglut->dpy, EGL_NO_SURFACE, EGL_NO_SURFACE, 
EGL_NO_CONTEXT);
- 
-    _eglutDestroyWindow(_eglut->current);
- }

Reply via email to