mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-01-18 20:52:10 +01:00
[d3d11] Use new wsi interface
This commit is contained in:
parent
4f80ffd830
commit
9f9c93dcbd
@ -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…
x
Reference in New Issue
Block a user