mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-01-19 05:52:11 +01:00
[dxgi] Use transcodeString to convert adapter name
This commit is contained in:
parent
200df73ba7
commit
bb3c0b9707
@ -268,7 +268,10 @@ namespace dxvk {
|
||||
|
||||
// Convert device name
|
||||
std::memset(pDesc->Description, 0, sizeof(pDesc->Description));
|
||||
str::tows(description, pDesc->Description);
|
||||
|
||||
str::transcodeString(pDesc->Description,
|
||||
sizeof(pDesc->Description) / sizeof(pDesc->Description[0]) - 1,
|
||||
description.c_str(), description.size());
|
||||
|
||||
// Get amount of video memory
|
||||
// based on the Vulkan heaps
|
||||
|
Loading…
x
Reference in New Issue
Block a user