mirror of
https://github.com/thinkonmay/sunshine-sdk.git
synced 2026-01-13 19:03:09 +00:00
temporary disable wgc
This commit is contained in:
parent
e5e639e1f0
commit
23a0993708
@ -963,20 +963,20 @@ namespace platf::dxgi {
|
||||
namespace platf {
|
||||
std::shared_ptr<display_t>
|
||||
display(mem_type_e hwdevice_type, const std::string &display_name, const video::config_t &config) {
|
||||
if (hwdevice_type == mem_type_e::dxgi) {
|
||||
auto disp = std::make_shared<dxgi::display_wgc_vram_t>();
|
||||
// if (hwdevice_type == mem_type_e::dxgi) {
|
||||
// auto disp = std::make_shared<dxgi::display_wgc_vram_t>();
|
||||
|
||||
if (!disp->init(config, display_name)) {
|
||||
return disp;
|
||||
}
|
||||
}
|
||||
else if (hwdevice_type == mem_type_e::system) {
|
||||
auto disp = std::make_shared<dxgi::display_wgc_ram_t>();
|
||||
// if (!disp->init(config, display_name)) {
|
||||
// return disp;
|
||||
// }
|
||||
// }
|
||||
// else if (hwdevice_type == mem_type_e::system) {
|
||||
// auto disp = std::make_shared<dxgi::display_wgc_ram_t>();
|
||||
|
||||
if (!disp->init(config, display_name)) {
|
||||
return disp;
|
||||
}
|
||||
}
|
||||
// if (!disp->init(config, display_name)) {
|
||||
// return disp;
|
||||
// }
|
||||
// }
|
||||
|
||||
if (hwdevice_type == mem_type_e::dxgi) {
|
||||
auto disp = std::make_shared<dxgi::display_ddup_vram_t>();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user