mirror of
https://github.com/thunderbrewhq/thunderbrew
synced 2025-04-18 02:52:47 +03:00
feat(gx): add ctor to CGxDeviceD3d
This commit is contained in:
parent
0419802663
commit
dad7f47b1d
@ -220,6 +220,17 @@ LRESULT CGxDeviceD3d::WindowProcD3d(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM
|
|||||||
return DefWindowProc(hWnd, uMsg, 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) {
|
void CGxDeviceD3d::CapsWindowSize(CRect& dst) {
|
||||||
// TODO
|
// TODO
|
||||||
}
|
}
|
||||||
|
@ -43,6 +43,7 @@ class CGxDeviceD3d : public CGxDevice {
|
|||||||
virtual int32_t StereoEnabled();
|
virtual int32_t StereoEnabled();
|
||||||
|
|
||||||
// Member functions
|
// Member functions
|
||||||
|
CGxDeviceD3d();
|
||||||
int32_t ICreateD3d();
|
int32_t ICreateD3d();
|
||||||
int32_t ICreateD3dDevice(const CGxFormat& format);
|
int32_t ICreateD3dDevice(const CGxFormat& format);
|
||||||
bool ICreateWindow(CGxFormat& format);
|
bool ICreateWindow(CGxFormat& format);
|
||||||
|
Loading…
Reference in New Issue
Block a user