Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit f710a48

Browse files
committed
Fix syntax error in depth chapter (thanks Nic Canning)
1 parent fa06d7f commit f710a48

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

en/07_Depth_buffering.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -523,8 +523,8 @@ functionality.
523523

524524
```c++
525525
depthStencil.stencilTestEnable = VK_FALSE;
526-
depthStencil.front{}; // Optional
527-
depthStencil.back{}; // Optional
526+
depthStencil.front = {}; // Optional
527+
depthStencil.back = {}; // Optional
528528
```
529529

530530
The last three fields configure stencil buffer operations, which we also won't

fr/07_Buffer_de_profondeur.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -480,8 +480,8 @@ valeurs fournies ici. Nous n'utiliserons pas cette fonctionnalité.
480480

481481
```c++
482482
depthStencil.stencilTestEnable = VK_FALSE;
483-
depthStencil.front{}; // Optionnel
484-
depthStencil.back{}; // Optionnel
483+
depthStencil.front = {}; // Optionnel
484+
depthStencil.back = {}; // Optionnel
485485
```
486486

487487
Les trois derniers champs configurent les opérations du buffer de stencil, que nous n'utiliserons pas non plus dans ce

0 commit comments

Comments
 (0)