You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: 03_Drawing_a_triangle/01_Presentation/01_Swap_chain.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -218,7 +218,8 @@ Each `VkSurfaceFormatKHR` entry contains `format` and `colorSpace` member. The
218
218
`VK_FORMAT_B8G8R8A8_UNORM` means that we store the B, G, R and alpha channels in
219
219
that order with an 8 bit unsigned integer for a total of 32 bits per pixel. The
220
220
`colorSpace` member indicates if the SRGB color space is supported or not using
221
-
the `VK_COLOR_SPACE_SRGB_NONLINEAR_KHR` flag.
221
+
the `VK_COLOR_SPACE_SRGB_NONLINEAR_KHR` flag. Note that this flag used to be
222
+
called `VK_COLORSPACE_SRGB_NONLINEAR_KHR` in old versions of the specification.
222
223
223
224
For the color space we'll use SRGB if it is available, because it [results in more accurate perceived colors](http://stackoverflow.com/questions/12524623/).
224
225
Working directly with SRGB colors is a little bit challenging, so we'll use
0 commit comments