feat(gx): add ctor to CGxDeviceD3d

This commit is contained in:
fallenoak authored and GitHub committed 2023-03-07 00:18:44 -06:00
1 parent 0419802663
commit dad7f47b1d
2 files changed
+12

No files matched your search

+11
View File
@@ -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
}
+1
View File
@@ -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);