summaryrefslogtreecommitdiffstats
path: root/meta-raspberrypi/recipes-graphics/userland/userland/0006-zero-out-wl-buffers-in-egl_surface_free.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-raspberrypi/recipes-graphics/userland/userland/0006-zero-out-wl-buffers-in-egl_surface_free.patch')
-rw-r--r--meta-raspberrypi/recipes-graphics/userland/userland/0006-zero-out-wl-buffers-in-egl_surface_free.patch33
1 files changed, 0 insertions, 33 deletions
diff --git a/meta-raspberrypi/recipes-graphics/userland/userland/0006-zero-out-wl-buffers-in-egl_surface_free.patch b/meta-raspberrypi/recipes-graphics/userland/userland/0006-zero-out-wl-buffers-in-egl_surface_free.patch
deleted file mode 100644
index 43eb7f0b0..000000000
--- a/meta-raspberrypi/recipes-graphics/userland/userland/0006-zero-out-wl-buffers-in-egl_surface_free.patch
+++ /dev/null
@@ -1,33 +0,0 @@
-From 0d678cd2042551cc4e26ec42fa3aba7c72d033b4 Mon Sep 17 00:00:00 2001
-From: Khem Raj <raj.khem@gmail.com>
-Date: Sat, 6 Feb 2016 11:10:47 -0800
-Subject: [PATCH 06/16] zero-out wl buffers in egl_surface_free
-
-origins from buildroot
-
-Signed-off-by: Khem Raj <raj.khem@gmail.com>
----
- interface/khronos/egl/egl_client_surface.c | 2 ++
- 1 file changed, 2 insertions(+)
-
-diff --git a/interface/khronos/egl/egl_client_surface.c b/interface/khronos/egl/egl_client_surface.c
-index 42350bf..1f923d9 100644
---- a/interface/khronos/egl/egl_client_surface.c
-+++ b/interface/khronos/egl/egl_client_surface.c
-@@ -690,11 +690,13 @@ void egl_surface_free(EGL_SURFACE_T *surface)
- if (surface->back_wl_buffer) {
- wl_buffer_destroy(surface->back_wl_buffer->wl_buffer);
- free(surface->back_wl_buffer);
-+ surface->back_wl_buffer = 0;
- }
-
- if (surface->front_wl_buffer) {
- wl_buffer_destroy(surface->front_wl_buffer->wl_buffer);
- free(surface->front_wl_buffer);
-+ surface->front_wl_buffer = 0;
- }
- #endif
- }
---
-2.16.1
-
OpenPOWER on IntegriCloud