mirror of
https://github.com/whoahq/whoa.git
synced 2026-11-07 15:19:53 +03:00
feat(gx): remove placeholder gx caps (#45)
This commit is contained in:
1 parent
0e0b57fce9
commit
907c3faf8f
14 files changed
+57
-61
No files matched your search
@@ -73,7 +73,7 @@ int32_t CM2Cache::Initialize(uint32_t flags) {
|
||||
// TODO
|
||||
|
||||
if (flags & 0x8) {
|
||||
if (GxCaps()->m_vertexShaderTarget > GxShVS_none && GxCaps()->m_pixelShaderTarget > GxShPS_none) {
|
||||
if (GxCaps().m_vertexShaderTarget > GxShVS_none && GxCaps().m_pixelShaderTarget > GxShPS_none) {
|
||||
this->m_flags |= 0x8;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -62,7 +62,7 @@ void CM2Scene::ComputeElementShaders(M2Element* element) {
|
||||
}
|
||||
}
|
||||
|
||||
int32_t v9 = v18 && (/* TODO !GxCaps()->dword130 ||*/ v8);
|
||||
int32_t v9 = v18 && (/* TODO !GxCaps().dword130 ||*/ v8);
|
||||
int32_t v10 = std::min(boneInfluences, 2);
|
||||
int32_t v11 = std::min(v8, 2);
|
||||
|
||||
|
||||
Reference in new issue
Block a user