mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-03-06 20:58:37 +01:00
[d3d11] Use new wsi interface
This commit is contained in:
parent
4f80ffd830
commit
9f9c93dcbd
1 changed files with 3 additions and 1 deletions
|
@ -24,6 +24,8 @@
|
|||
#include "d3d11_texture.h"
|
||||
#include "d3d11_video.h"
|
||||
|
||||
#include "../wsi/wsi_window.h"
|
||||
|
||||
#include "../util/util_shared_res.h"
|
||||
|
||||
namespace dxvk {
|
||||
|
@ -3047,7 +3049,7 @@ namespace dxvk {
|
|||
// Make sure the back buffer size is not zero
|
||||
DXGI_SWAP_CHAIN_DESC1 desc = *pDesc;
|
||||
|
||||
GetWindowClientSize(hWnd,
|
||||
wsi::getWindowSize(hWnd,
|
||||
desc.Width ? nullptr : &desc.Width,
|
||||
desc.Height ? nullptr : &desc.Height);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue