|
|
@ -193,7 +193,7 @@ int main_thread(ClientContext* context) {
|
|
|
|
glfwPollEvents();
|
|
|
|
glfwPollEvents();
|
|
|
|
double frame_time = glfwGetTime();
|
|
|
|
double frame_time = glfwGetTime();
|
|
|
|
|
|
|
|
|
|
|
|
//
|
|
|
|
// TODO: replace with API calls to add these structures to the per-frame transfer and update CPU structures
|
|
|
|
if(frame_time - last_draw > draw_interval) {
|
|
|
|
if(frame_time - last_draw > draw_interval) {
|
|
|
|
context->render.frame[context->render.current_frame].transfer_count = 2;
|
|
|
|
context->render.frame[context->render.current_frame].transfer_count = 2;
|
|
|
|
|
|
|
|
|
|
|
|