mirror of
https://github.com/doitsujin/dxvk.git
synced 2024-12-04 16:24:29 +01:00
[d3d9] Remove uninitialized device present params
This commit is contained in:
parent
b8d36eeacc
commit
d1707026f9
@ -318,7 +318,9 @@ namespace dxvk {
|
||||
uint32_t inputHeight = cursorTex->Desc()->Height;
|
||||
|
||||
// Always use a hardware cursor when windowed.
|
||||
bool hwCursor = m_presentParams.Windowed;
|
||||
D3DPRESENT_PARAMETERS params;
|
||||
m_implicitSwapchain->GetPresentParameters(¶ms);
|
||||
bool hwCursor = params.Windowed;
|
||||
|
||||
// Always use a hardware cursor w/h <= 32 px
|
||||
hwCursor |= inputWidth <= HardwareCursorWidth
|
||||
|
@ -1200,7 +1200,6 @@ namespace dxvk {
|
||||
D3DDEVTYPE m_deviceType;
|
||||
HWND m_window;
|
||||
WORD m_behaviorFlags;
|
||||
D3DPRESENT_PARAMETERS m_presentParams;
|
||||
|
||||
D3D9Adapter* m_adapter;
|
||||
Rc<DxvkDevice> m_dxvkDevice;
|
||||
|
Loading…
Reference in New Issue
Block a user