mirror of
https://github.com/thunderbrewhq/thunderbrew
synced 2025-04-18 19:12:44 +03:00
fix(gx): add missing initialization for d3d backend
This commit is contained in:
parent
80388f0279
commit
c05ac69273
@ -14,12 +14,12 @@ class CGxDeviceD3d : public CGxDevice {
|
|||||||
static LRESULT WindowProcD3d(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam);
|
static LRESULT WindowProcD3d(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam);
|
||||||
|
|
||||||
// Member variables
|
// Member variables
|
||||||
HWND m_hwnd;
|
HWND m_hwnd = nullptr;
|
||||||
ATOM m_hwndClass;
|
ATOM m_hwndClass;
|
||||||
int32_t m_ownhwnd;
|
int32_t m_ownhwnd;
|
||||||
HINSTANCE m_d3dLib;
|
HINSTANCE m_d3dLib = nullptr;
|
||||||
LPDIRECT3D9 m_d3d;
|
LPDIRECT3D9 m_d3d = nullptr;
|
||||||
LPDIRECT3DDEVICE9 m_d3dDevice;
|
LPDIRECT3DDEVICE9 m_d3dDevice = nullptr;
|
||||||
D3DCAPS9 m_d3dCaps;
|
D3DCAPS9 m_d3dCaps;
|
||||||
D3DDISPLAYMODE m_desktopDisplayMode;
|
D3DDISPLAYMODE m_desktopDisplayMode;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user