From 7ef306152a29a2892ad4c2ed103c063f16f6f5ec Mon Sep 17 00:00:00 2001 From: Hans-Kristian Arntzen Date: Sun, 29 Oct 2023 11:44:51 +0100 Subject: [PATCH] Fix derp return type in set_enable_async_thread_frame_context. --- vulkan/device.cpp | 2 +- vulkan/device.hpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/vulkan/device.cpp b/vulkan/device.cpp index 14d1363a..c1c1f63b 100644 --- a/vulkan/device.cpp +++ b/vulkan/device.cpp @@ -2565,7 +2565,7 @@ void Device::promote_read_write_caches_to_read_only() } } -bool Device::set_enable_async_thread_frame_context(bool enable) +void Device::set_enable_async_thread_frame_context(bool enable) { LOCK(); lock.async_frame_context = enable; diff --git a/vulkan/device.hpp b/vulkan/device.hpp index cbaee4d8..09613ad7 100644 --- a/vulkan/device.hpp +++ b/vulkan/device.hpp @@ -255,7 +255,7 @@ class Device // but in the case where async threads are continuously pumping Vulkan work // in the background, they need to reclaim memory if WSI goes to sleep for a long period of time. void next_frame_context_in_async_thread(); - bool set_enable_async_thread_frame_context(bool enable); + void set_enable_async_thread_frame_context(bool enable); void wait_idle(); void end_frame_context();