mirror of https://github.com/bjornbytes/lovr.git
Initialize stencil mask state slightly better;
Not sure this has an effect but it seems better.
This commit is contained in:
parent
e402f02918
commit
54a5ca1c36
|
@ -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++) {
|
||||
|
|
Loading…
Reference in New Issue