Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 618e414

Browse files
thatcosmonautflibitijibibo
authored andcommittedAug 2, 2024·
Vulkan: Fix erroneous texture cycle disable
1 parent 555f26b commit 618e414

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/gpu/vulkan/SDL_gpu_vulkan.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -7785,7 +7785,7 @@ static void VULKAN_BeginRenderPass(
77857785

77867786
for (i = 0; i < colorAttachmentCount; i += 1) {
77877787
SDL_bool cycle;
7788-
if (colorAttachmentInfos[i].loadOp) {
7788+
if (colorAttachmentInfos[i].loadOp == SDL_GPU_LOADOP_LOAD) {
77897789
cycle = SDL_FALSE;
77907790
} else {
77917791
cycle = colorAttachmentInfos[i].cycle;

0 commit comments

Comments
 (0)
Please sign in to comment.