mirror of
https://github.com/thunderbrewhq/thunderbrew
synced 2026-11-22 13:56:50 +03:00
feat(gx): set generate mipmaps caps flag in d3d backend
This commit is contained in:
1 file changed
+4
@@ -703,6 +703,10 @@ void CGxDeviceD3d::ISetCaps(const CGxFormat& format) {
|
|||||||
// TODO modify shader targets based on format
|
// TODO modify shader targets based on format
|
||||||
|
|
||||||
// TODO
|
// TODO
|
||||||
|
|
||||||
|
this->m_caps.m_generateMipMaps = (this->m_d3dCaps.Caps2 & D3DCAPS2_CANAUTOGENMIPMAP) != 0;
|
||||||
|
|
||||||
|
// TODO
|
||||||
}
|
}
|
||||||
|
|
||||||
void CGxDeviceD3d::ISetPresentParms(D3DPRESENT_PARAMETERS& d3dpp, const CGxFormat& format) {
|
void CGxDeviceD3d::ISetPresentParms(D3DPRESENT_PARAMETERS& d3dpp, const CGxFormat& format) {
|
||||||
|
|||||||
Reference in new issue
Block a user