mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-07-08 16:01:19 +12:00
fix: color write mask and unpackHalf2x16
This commit is contained in:
parent
c6ab45a098
commit
eb573fcaca
6 changed files with 30 additions and 11 deletions
|
@ -79,7 +79,7 @@ void MetalRenderer::InitializeLayer(const Vector2i& size, bool mainWindow)
|
|||
m_metalLayer->setDevice(m_device);
|
||||
// TODO: don't always force sRGB
|
||||
// TODO: shouldn't this be handled differently?
|
||||
m_metalLayer->setPixelFormat(MTL::PixelFormatRGBA8Unorm_sRGB);
|
||||
m_metalLayer->setPixelFormat(MTL::PixelFormatRGBA8Unorm/*_sRGB*/);
|
||||
|
||||
// Present pipeline
|
||||
NS::Error* error = nullptr;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue