mirror of
https://github.com/thunderbrewhq/thunderbrew
synced 2025-12-12 03:02:30 +00:00
feat(gx): remove placeholder gx caps (#45)
This commit is contained in:
parent
0e0b57fce9
commit
907c3faf8f
14 changed files with 57 additions and 61 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue