Skip to content

Commit

Permalink
Temporary fix for Vulkan Android glitches
Browse files Browse the repository at this point in the history
  • Loading branch information
RobDangerous committed Nov 8, 2023
1 parent 8afadcf commit 47c097b
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1101,6 +1101,10 @@ void kinc_g5_begin(kinc_g5_render_target_t *renderTarget, int window_index) {
}

void kinc_g5_end(int window) {
#ifdef KORE_ANDROID
vkDeviceWaitIdle(vk_ctx.device);
#endif

VkPresentInfoKHR present = {0};
present.sType = VK_STRUCTURE_TYPE_PRESENT_INFO_KHR;
present.pNext = NULL;
Expand Down

0 comments on commit 47c097b

Please sign in to comment.