diff --git a/src/gx/d3d/CGxDeviceD3d.cpp b/src/gx/d3d/CGxDeviceD3d.cpp index c9e2684..194219f 100644 --- a/src/gx/d3d/CGxDeviceD3d.cpp +++ b/src/gx/d3d/CGxDeviceD3d.cpp @@ -220,6 +220,17 @@ LRESULT CGxDeviceD3d::WindowProcD3d(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM return DefWindowProc(hWnd, uMsg, wParam, lParam); } +CGxDeviceD3d::CGxDeviceD3d() : CGxDevice() { + // TODO + + this->m_api = GxApi_D3d9; + + // TODO + + this->DeviceCreatePools(); + this->DeviceCreateStreamBufs(); +} + void CGxDeviceD3d::CapsWindowSize(CRect& dst) { // TODO } diff --git a/src/gx/d3d/CGxDeviceD3d.hpp b/src/gx/d3d/CGxDeviceD3d.hpp index af40884..4afdad3 100644 --- a/src/gx/d3d/CGxDeviceD3d.hpp +++ b/src/gx/d3d/CGxDeviceD3d.hpp @@ -43,6 +43,7 @@ class CGxDeviceD3d : public CGxDevice { virtual int32_t StereoEnabled(); // Member functions + CGxDeviceD3d(); int32_t ICreateD3d(); int32_t ICreateD3dDevice(const CGxFormat& format); bool ICreateWindow(CGxFormat& format);