Add a message about SRGBA -> RGBA conversion

This commit is contained in:
Hexagon12
2018-08-07 20:06:46 +03:00
parent 41cde87040
commit d8eb4df039

View File

@@ -200,6 +200,8 @@ struct SurfaceParams {
static PixelFormat PixelFormatFromRenderTargetFormat(Tegra::RenderTargetFormat format) {
switch (format) {
// TODO (Hexagon12): Converting SRGBA to RGBA is a hack and doesn't completely correct the
// gamma.
case Tegra::RenderTargetFormat::RGBA8_SRGB:
case Tegra::RenderTargetFormat::RGBA8_UNORM:
return PixelFormat::ABGR8;