From adca9bef40fbbef8b93a6c2c2f278837b0144cf0 Mon Sep 17 00:00:00 2001 From: notaz Date: Fri, 25 Aug 2023 02:19:01 +0300 Subject: [PATCH] fix build --- plugins/gpulib/gpulib_thread_if.c | 4 ++-- plugins/gpulib/gpulib_thread_if.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/gpulib/gpulib_thread_if.c b/plugins/gpulib/gpulib_thread_if.c index 1583783d..c18a6f60 100644 --- a/plugins/gpulib/gpulib_thread_if.c +++ b/plugins/gpulib/gpulib_thread_if.c @@ -385,9 +385,9 @@ void renderer_sync_ecmds(uint32_t * ecmds) { } } -void renderer_update_caches(int x, int y, int w, int h) { +void renderer_update_caches(int x, int y, int w, int h, int state_changed) { renderer_sync(); - real_renderer_update_caches(x, y, w, h); + real_renderer_update_caches(x, y, w, h, state_changed); } void renderer_flush_queues(void) { diff --git a/plugins/gpulib/gpulib_thread_if.h b/plugins/gpulib/gpulib_thread_if.h index b1ea97f9..8ce328e7 100644 --- a/plugins/gpulib/gpulib_thread_if.h +++ b/plugins/gpulib/gpulib_thread_if.h @@ -28,7 +28,7 @@ int real_do_cmd_list(uint32_t *list, int count, int *last_cmd); int real_renderer_init(void); void real_renderer_finish(void); void real_renderer_sync_ecmds(uint32_t * ecmds); -void real_renderer_update_caches(int x, int y, int w, int h); +void real_renderer_update_caches(int x, int y, int w, int h, int state_changed); void real_renderer_flush_queues(void); void real_renderer_set_interlace(int enable, int is_odd); void real_renderer_set_config(const struct rearmed_cbs *config); -- 2.39.5