|
|
@ -141,6 +141,7 @@ VkResult render_thread(GLFWwindow* window, RenderContext* render) {
|
|
|
|
|
|
|
|
|
|
|
|
double frame_time = glfwGetTime();
|
|
|
|
double frame_time = glfwGetTime();
|
|
|
|
double delta_time = frame_time - last_frame_time;
|
|
|
|
double delta_time = frame_time - last_frame_time;
|
|
|
|
|
|
|
|
(void)delta_time;
|
|
|
|
result = draw_frame(render, frame_time);
|
|
|
|
result = draw_frame(render, frame_time);
|
|
|
|
if(result != VK_SUCCESS) {
|
|
|
|
if(result != VK_SUCCESS) {
|
|
|
|
fprintf(stderr, "draw_frame error: %s\n", string_VkResult(result));
|
|
|
|
fprintf(stderr, "draw_frame error: %s\n", string_VkResult(result));
|
|
|
|