aboutsummaryrefslogtreecommitdiff
path: root/render
diff options
context:
space:
mode:
Diffstat (limited to 'render')
-rw-r--r--render/allocator/allocator.c3
-rw-r--r--render/gles2/texture.c1
-rw-r--r--render/wlr_renderer.c3
3 files changed, 2 insertions, 5 deletions
diff --git a/render/allocator/allocator.c b/render/allocator/allocator.c
index 00dadd29..b380584c 100644
--- a/render/allocator/allocator.c
+++ b/render/allocator/allocator.c
@@ -14,7 +14,6 @@
#include "render/allocator/drm_dumb.h"
#include "render/allocator/shm.h"
#include "render/wlr_renderer.h"
-#include "util/signal.h"
#if WLR_HAS_GBM_ALLOCATOR
#include "render/allocator/gbm.h"
@@ -159,7 +158,7 @@ void wlr_allocator_destroy(struct wlr_allocator *alloc) {
if (alloc == NULL) {
return;
}
- wlr_signal_emit_safe(&alloc->events.destroy, NULL);
+ wl_signal_emit_mutable(&alloc->events.destroy, NULL);
alloc->impl->destroy(alloc);
}
diff --git a/render/gles2/texture.c b/render/gles2/texture.c
index 8b4ce673..776baf40 100644
--- a/render/gles2/texture.c
+++ b/render/gles2/texture.c
@@ -15,7 +15,6 @@
#include "render/gles2.h"
#include "render/pixel_format.h"
#include "types/wlr_buffer.h"
-#include "util/signal.h"
static const struct wlr_texture_impl texture_impl;
diff --git a/render/wlr_renderer.c b/render/wlr_renderer.c
index 478db745..622f5f96 100644
--- a/render/wlr_renderer.c
+++ b/render/wlr_renderer.c
@@ -26,7 +26,6 @@
#endif // WLR_HAS_VULKAN_RENDERER
#include "backend/backend.h"
-#include "util/signal.h"
#include "render/pixel_format.h"
#include "render/wlr_renderer.h"
@@ -53,7 +52,7 @@ void wlr_renderer_destroy(struct wlr_renderer *r) {
assert(!r->rendering);
- wlr_signal_emit_safe(&r->events.destroy, r);
+ wl_signal_emit_mutable(&r->events.destroy, r);
if (r->impl && r->impl->destroy) {
r->impl->destroy(r);