Skip to content

Commit

Permalink
Merge pull request #19279 from hrydgard/fix-screenshot-hang
Browse files Browse the repository at this point in the history
Fix screenshot hang
  • Loading branch information
hrydgard authored Jun 19, 2024
2 parents cfcca0e + 93bca01 commit 03b68fd
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
7 changes: 4 additions & 3 deletions Common/GPU/Vulkan/VulkanFrameData.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -208,10 +208,11 @@ void FrameData::Submit(VulkanContext *vulkan, FrameSubmitType type, FrameDataSha

cmdBufs[numCmdBufs++] = presentCmd;
hasPresentCommands = false;
}

if (type == FrameSubmitType::FinishFrame) {
fenceToTrigger = fence;
}
if (type == FrameSubmitType::FinishFrame) {
_dbg_assert_(!fenceToTrigger);
fenceToTrigger = fence;
}

if (!numCmdBufs && fenceToTrigger == VK_NULL_HANDLE) {
Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ buildscript {
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:8.3.1'
classpath 'com.android.tools.build:gradle:8.5.0'
}
}

Expand Down
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.4-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-all.zip
android.useAndroidX=true
android.enableJetifier=true

0 comments on commit 03b68fd

Please sign in to comment.