Skip to content

Commit f3eee45

Browse files
committed
Links and capitalization
1 parent 0b65719 commit f3eee45

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

en/03_Drawing_a_triangle/01_Presentation/01_Swap_chain.adoc

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -210,12 +210,11 @@ VkSurfaceFormatKHR chooseSwapSurfaceFormat(const std::vector<VkSurfaceFormatKHR>
210210
Each `VkSurfaceFormatKHR` entry contains a `format` and a `colorSpace` member.
211211
The `format` member specifies the color channels and types.
212212
For example, `VK_FORMAT_B8G8R8A8_SRGB` means that we store the B, G, R and alpha channels in that order with an 8 bit unsigned integer for a total of 32 bits per pixel.
213-
The `colorSpace` member indicates if the SRGB color space is supported or not using the `VK_COLOR_SPACE_SRGB_NONLINEAR_KHR` flag.
213+
The `colorSpace` member indicates if the sRGB color space is supported or not using the `VK_COLOR_SPACE_SRGB_NONLINEAR_KHR` flag.
214214
Note that this flag used to be called `VK_COLORSPACE_SRGB_NONLINEAR_KHR` in old versions of the specification.
215215

216-
For the color space we'll use SRGB if it is available, because it https://stackoverflow.com/questions/12524623/[results in more accurate perceived colors].
217-
It is also pretty much the standard color space for images, like the textures we'll use later on.
218-
Because of that we should also use an SRGB color format, of which one of the most common ones is `VK_FORMAT_B8G8R8A8_SRGB`.
216+
For the color space we'll use https://en.wikipedia.org/wiki/SRGB[sRGB], which is pretty much the standard color space for viewing and printing purposes, like the textures we'll use later on.
217+
Because of that we should also use an sRGB color format, of which one of the most common ones is `VK_FORMAT_B8G8R8A8_SRGB`.
219218

220219
Let's go through the list and see if the preferred combination is available:
221220

en/03_Drawing_a_triangle/03_Drawing/02_Rendering_and_presentation.adoc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -484,7 +484,6 @@ image::/images/triangle.png[]
484484
____
485485
This colored triangle may look a bit different from the one you're used to seeing in graphics tutorials.
486486
That's because this tutorial lets the shader interpolate in linear color space and converts to sRGB color space afterwards.
487-
See https://medium.com/@heypete/hello-triangle-meet-swift-and-wide-color-6f9e246616d9[this blog post] for a discussion of the difference.
488487
____
489488

490489
Yay!

0 commit comments

Comments
 (0)