Add DXGI_FORMAT_B8G8R8X8_UNORM as a supported capture format
This commit is contained in:
@@ -362,7 +362,7 @@ namespace platf::dxgi {
|
|||||||
|
|
||||||
std::vector<DXGI_FORMAT>
|
std::vector<DXGI_FORMAT>
|
||||||
display_ram_t::get_supported_capture_formats() {
|
display_ram_t::get_supported_capture_formats() {
|
||||||
return { DXGI_FORMAT_B8G8R8A8_UNORM };
|
return { DXGI_FORMAT_B8G8R8A8_UNORM, DXGI_FORMAT_B8G8R8X8_UNORM };
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
int
|
||||||
|
|||||||
@@ -1229,6 +1229,7 @@ namespace platf::dxgi {
|
|||||||
// while the client stream is HDR-capable. These UNORM formats can
|
// while the client stream is HDR-capable. These UNORM formats can
|
||||||
// use our normal pixel shaders that expect sRGB input.
|
// use our normal pixel shaders that expect sRGB input.
|
||||||
DXGI_FORMAT_B8G8R8A8_UNORM,
|
DXGI_FORMAT_B8G8R8A8_UNORM,
|
||||||
|
DXGI_FORMAT_B8G8R8X8_UNORM,
|
||||||
DXGI_FORMAT_R8G8B8A8_UNORM,
|
DXGI_FORMAT_R8G8B8A8_UNORM,
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user