Changed the sRGB pixel format return

This commit is contained in:
Hexagon12
2018-08-07 19:38:23 +03:00
parent dc4e5f9159
commit 41cde87040

View File

@@ -201,7 +201,6 @@ struct SurfaceParams {
static PixelFormat PixelFormatFromRenderTargetFormat(Tegra::RenderTargetFormat format) {
switch (format) {
case Tegra::RenderTargetFormat::RGBA8_SRGB:
return PixelFormat::SRGBA8;
case Tegra::RenderTargetFormat::RGBA8_UNORM:
return PixelFormat::ABGR8;
case Tegra::RenderTargetFormat::BGRA8_UNORM: