mirror of
https://github.com/thunderbrewhq/thunderbrew
synced 2025-04-18 02:52:47 +03:00
feat(gx): set generate mipmaps caps flag in d3d backend
This commit is contained in:
parent
27583b6f2e
commit
0e0b57fce9
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user