mirror of
https://github.com/thunderbrewhq/thunderbrew
synced 2025-12-12 11:12:29 +00:00
feat(gx): handle texture creation in d3d backend
This commit is contained in:
parent
a490cc7be7
commit
0419802663
3 changed files with 147 additions and 1 deletions
|
|
@ -10,6 +10,9 @@ class CGxDeviceD3d : public CGxDevice {
|
|||
public:
|
||||
// Static variables
|
||||
static D3DFORMAT s_GxFormatToD3dFormat[];
|
||||
static D3DFORMAT s_GxTexFmtToD3dFmt[];
|
||||
static EGxTexFormat s_GxTexFmtToUse[];
|
||||
static EGxTexFormat s_tolerableTexFmtMapping[];
|
||||
|
||||
// Static functions
|
||||
static int32_t ILoadD3dLib(HINSTANCE& d3dLib, LPDIRECT3D9& d3d);
|
||||
|
|
@ -46,6 +49,8 @@ class CGxDeviceD3d : public CGxDevice {
|
|||
void ISetPresentParms(D3DPRESENT_PARAMETERS& d3dpp, const CGxFormat& format);
|
||||
void IDestroyD3d();
|
||||
void IDestroyD3dDevice();
|
||||
void ITexCreate(CGxTex* texId);
|
||||
void ITexUpload(CGxTex* texId);
|
||||
};
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue