File tree Expand file tree Collapse file tree 2 files changed +0
-4
lines changed
Expand file tree Collapse file tree 2 files changed +0
-4
lines changed Original file line number Diff line number Diff line change @@ -629,8 +629,6 @@ SDL_AppResult SDL_AppIterate(void* appstate) {
629629 return SDL_APP_FAILURE;
630630 }
631631
632- SDL_WaitForGPUIdle (myAppState->device );
633-
634632 std::chrono::high_resolution_clock::time_point endTime = std::chrono::high_resolution_clock::now ();
635633 std::chrono::duration<Uint32, std::nano> frameTime = endTime - startTime;
636634 myAppState->frameTimes [myAppState->frameNumber ] = frameTime.count ();
Original file line number Diff line number Diff line change @@ -954,8 +954,6 @@ SDL_AppResult VulkanEngine::Draw() {
954954 return SDL_APP_FAILURE;
955955 }
956956
957- vkDeviceWaitIdle (device);
958-
959957 const std::chrono::high_resolution_clock::time_point endTime = std::chrono::high_resolution_clock::now ();
960958 const std::chrono::duration<Uint32, std::nano> frameTime = endTime - startTime;
961959 frameTimes[frameNumber] = frameTime.count ();
You can’t perform that action at this time.
0 commit comments