Skip to content

Commit e2bf4a7

Browse files
committed
Partially revert 62dd780 since gl_FragCoord.y can equal the height on some GPUs.
1 parent 08b4ad1 commit e2bf4a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vkrender.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4491,7 +4491,7 @@ void AsyVkRender::preDrawBuffers(FrameObject & object, int imageIndex)
44914491
));
44924492
}
44934493

4494-
pixels=backbufferExtent.width*backbufferExtent.height;
4494+
pixels=(backbufferExtent.width+1)*(backbufferExtent.height+1);
44954495
if(pixels > transparencyCapacityPixels) {
44964496
// Only wait for the specific resources we need to modify
44974497
if (timelineSemaphoreSupported)

0 commit comments

Comments
 (0)