mirror of
https://github.com/whoahq/whoa.git
synced 2026-12-05 20:09:08 +03:00
feat(gx): use caps-defined shader profiles
This commit is contained in:
1 parent
92ba4b66ae
commit
73859890b1
7 files changed
+15
-21
No files matched your search
@@ -676,8 +676,8 @@ void CGxDeviceGLL::ISetCaps(const CGxFormat& format) {
|
||||
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;
|
||||
this->m_caps.m_shaderTargets[GxSh_Vertex] = GxShVS_arbvp1;
|
||||
this->m_caps.m_shaderTargets[GxSh_Pixel] = GxShPS_arbfp1;
|
||||
|
||||
this->m_caps.m_texFilterAnisotropic = 1;
|
||||
this->m_caps.m_maxTexAnisotropy = 16;
|
||||
|
||||
Reference in new issue
Block a user