GL: Added texture mip autogen.

This commit is contained in:
Branimir Karadžić
2016-07-23 16:16:43 -07:00
parent 2563382301
commit b7a0030c20
7 changed files with 63 additions and 23 deletions

View File

@@ -1429,6 +1429,13 @@ BX_PRAGMA_DIAGNOSTIC_POP();
? BGFX_CAPS_FORMAT_TEXTURE_MSAA
: BGFX_CAPS_FORMAT_TEXTURE_NONE
;
support |= 0 != (data.OutFormatSupport & (0
| D3D11_FORMAT_SUPPORT_MIP_AUTOGEN
) )
? BGFX_CAPS_FORMAT_TEXTURE_MIP_AUTOGEN
: BGFX_CAPS_FORMAT_TEXTURE_NONE
;
}
else
{