mirror of
https://github.com/open-goal/jak-project.git
synced 2024-11-27 08:20:47 +00:00
[jak2] fix bug in direct in texture handler (#2910)
This commit is contained in:
parent
f5b771174e
commit
22c12c54ca
@ -78,8 +78,11 @@ void TextureUploadHandler::render(DmaFollower& dma,
|
||||
// on next
|
||||
ASSERT(dma.current_tag_offset() == render_state->next_bucket);
|
||||
} else if (m_direct) {
|
||||
m_direct->render_vif(data.vif0(), data.vif1(), data.data, data.size_bytes, render_state,
|
||||
prof);
|
||||
if (data.vifcode0().kind == VifCode::Kind::DIRECT ||
|
||||
data.vifcode1().kind == VifCode::Kind::DIRECT) {
|
||||
m_direct->render_vif(data.vif0(), data.vif1(), data.data, data.size_bytes, render_state,
|
||||
prof);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user