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

Skip to content

Commit e54694e

Browse files
authored
Merge pull request #48 from AdenFlorian/patch-3
Fix leftover VK_IMAGE_TILING_LINEAR in images chapter
2 parents 64d9de1 + 3633ad9 commit e54694e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

06_Texture_mapping/00_Images.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ for the texels as the pixels in the buffer, otherwise the copy operation will
222222
fail.
223223

224224
```c++
225-
imageInfo.tiling = VK_IMAGE_TILING_LINEAR;
225+
imageInfo.tiling = VK_IMAGE_TILING_OPTIMAL;
226226
```
227227

228228
The `tiling` field can have one of two values:

0 commit comments

Comments
 (0)