Create simple thread library
This commit is contained in:
1 parent
3d538eaa2c
commit
507db80fb1
7 files changed
+63
-4
No files matched your search
@@ -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]);
|
||||
|
||||
@@ -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};
|
||||
|
||||
Reference in new issue
Block a user