summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/gui/rhi/qrhi.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/rhi/qrhi.cpp b/src/gui/rhi/qrhi.cpp
index d550125135..1bdebdb4c7 100644
--- a/src/gui/rhi/qrhi.cpp
+++ b/src/gui/rhi/qrhi.cpp
@@ -2572,9 +2572,9 @@ bool QRhiRenderBuffer::createFrom(NativeRenderBuffer src)
\value RGBA10A2 Four components, unsigned normalized 10 bit R, G, and B,
2-bit alpha. This is a packed format so native endianness applies. Note
- that there is no BGR30A2: this format maps to DXGI_FORMAT_R10G10B10A2_UNORM
- with D3D, MTLPixelFormatRGB10A2Unorm with Metal,
- VK_FORMAT_A2B10G10R10_UNORM_PACK32 with Vulkan, and
+ that there is no BGR10A2. This is because RGB10A2 maps to
+ DXGI_FORMAT_R10G10B10A2_UNORM with D3D, MTLPixelFormatRGB10A2Unorm with
+ Metal, VK_FORMAT_A2B10G10R10_UNORM_PACK32 with Vulkan, and
GL_RGB10_A2/GL_RGB/GL_UNSIGNED_INT_2_10_10_10_REV on OpenGL (ES). This is
the only universally supported RGB30 option. The corresponding QImage
formats are QImage::Format_BGR30 and QImage::Format_A2BGR30_Premultiplied.