Initialize stencil mask state slightly better;

Not sure this has an effect but it seems better.
This commit is contained in:
bjorn 2022-08-26 22:23:28 -07:00
parent e402f02918
commit 54a5ca1c36
1 changed files with 3 additions and 1 deletions

View File

@ -3383,7 +3383,9 @@ Pass* lovrGraphicsGetPass(PassInfo* info) {
.viewCount = pass->viewCount,
.depth.format = depth->texture ? depth->texture->info.format : depth->format,
.depth.test = GPU_COMPARE_GEQUAL,
.depth.write = true
.depth.write = true,
.stencil.testMask = 0xff,
.stencil.writeMask = 0xff
};
for (uint32_t i = 0; i < pass->info.canvas.count; i++) {