feat(gx): set generate mipmaps caps flag in d3d backend

This commit is contained in:
fallenoak 2023-03-09 22:02:32 -06:00
parent 27583b6f2e
commit 0e0b57fce9
No known key found for this signature in database
GPG Key ID: 7628F8E61AEA070D

View File

@ -703,6 +703,10 @@ void CGxDeviceD3d::ISetCaps(const CGxFormat& format) {
// TODO modify shader targets based on format
// TODO
this->m_caps.m_generateMipMaps = (this->m_d3dCaps.Caps2 & D3DCAPS2_CANAUTOGENMIPMAP) != 0;
// TODO
}
void CGxDeviceD3d::ISetPresentParms(D3DPRESENT_PARAMETERS& d3dpp, const CGxFormat& format) {