Create simple thread library

This commit is contained in:
Piotr Krygier committed 2023-08-14 14:49:57 +02:00
1 parent 3d538eaa2c
commit 507db80fb1
7 files changed
+63 -4

No files matched your search

+1 -1
View File
@@ -589,7 +589,7 @@ void draw_frame()
return;
}
update_uniform_buffer();
update_uniform_buffers();
/* Only reset the fence if we are submitting work */
vkResetFences(g_vulkan_state.device, 1, &g_in_flight_fences[g_vulkan_state.current_frame]);
+1 -1
View File
@@ -304,7 +304,7 @@ uint8_t allocate_command_buffers()
* @brief Update uniform buffers
*
*/
void update_uniform_buffer()
void update_uniform_buffers()
{
struct rse_uniform_buffer_object_t ubo = {};
struct vec3_t eye = {0};