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

Skip to content

Commit 71fcea2

Browse files
authored
Corrected minor typo
The STB constant name was incorrect.
1 parent 7ec10d8 commit 71fcea2

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
@@ -141,7 +141,7 @@ alpha channel, even if it doesn't have one, which is nice for consistency with
141141
other textures in the future. The middle three parameters are outputs for the
142142
width, height and actual number of channels in the image. The pointer that is
143143
returned is the first element in an array of pixel values. The pixels are laid
144-
out row by row with 4 bytes per pixel in the case of `STBI_rgba_alpha` for a
144+
out row by row with 4 bytes per pixel in the case of `STBI_rgb_alpha` for a
145145
total of `texWidth * texHeight * 4` values.
146146

147147
## Staging buffer

0 commit comments

Comments
 (0)