mirror of
https://github.com/LizardByte/Sunshine.git
synced 2025-03-10 16:14:36 +00:00
Add DXGI_FORMAT_B8G8R8X8_UNORM as a supported capture format
This commit is contained in:
parent
b5c8bbaa24
commit
242a146712
@ -362,7 +362,7 @@ namespace platf::dxgi {
|
||||
|
||||
std::vector<DXGI_FORMAT>
|
||||
display_ram_t::get_supported_capture_formats() {
|
||||
return { DXGI_FORMAT_B8G8R8A8_UNORM };
|
||||
return { DXGI_FORMAT_B8G8R8A8_UNORM, DXGI_FORMAT_B8G8R8X8_UNORM };
|
||||
}
|
||||
|
||||
int
|
||||
|
@ -1229,6 +1229,7 @@ namespace platf::dxgi {
|
||||
// while the client stream is HDR-capable. These UNORM formats can
|
||||
// use our normal pixel shaders that expect sRGB input.
|
||||
DXGI_FORMAT_B8G8R8A8_UNORM,
|
||||
DXGI_FORMAT_B8G8R8X8_UNORM,
|
||||
DXGI_FORMAT_R8G8B8A8_UNORM,
|
||||
};
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user