mirror of
https://github.com/thunderbrewhq/thunderbrew
synced 2025-12-12 03:02:30 +00:00
feat(gx): set supported texture formats in gx caps
This commit is contained in:
parent
907c3faf8f
commit
9fe6bc9cd6
5 changed files with 25 additions and 10 deletions
|
|
@ -672,9 +672,9 @@ void CGxDeviceGLL::ISetCaps(const CGxFormat& format) {
|
|||
|
||||
this->m_caps.m_generateMipMaps = 1;
|
||||
|
||||
this->m_caps.m_texFmtDxt1 = 1;
|
||||
this->m_caps.m_texFmtDxt3 = 1;
|
||||
this->m_caps.m_texFmtDxt5 = 1;
|
||||
this->m_caps.m_texFmt[GxTex_Dxt1] = 1;
|
||||
this->m_caps.m_texFmt[GxTex_Dxt3] = 1;
|
||||
this->m_caps.m_texFmt[GxTex_Dxt5] = 1;
|
||||
|
||||
this->m_caps.m_vertexShaderTarget = GxShVS_arbvp1;
|
||||
this->m_caps.m_pixelShaderTarget = GxShPS_arbfp1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue