Skip to content

Commit

Permalink
Fix derp return type in set_enable_async_thread_frame_context.
Browse files Browse the repository at this point in the history
  • Loading branch information
Themaister committed Oct 29, 2023
1 parent 79d8c1b commit 7ef3061
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion vulkan/device.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion vulkan/device.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 7ef3061

Please sign in to comment.