mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 04:08:55 +00:00
Software: Fix zfreeze with CullMode::All
This commit is contained in:
parent
164e0f742d
commit
59f299d5d6
7 changed files with 78 additions and 41 deletions
|
@ -32,6 +32,13 @@ SWVertexLoader::SWVertexLoader() = default;
|
|||
|
||||
SWVertexLoader::~SWVertexLoader() = default;
|
||||
|
||||
DataReader SWVertexLoader::PrepareForAdditionalData(OpcodeDecoder::Primitive primitive, u32 count,
|
||||
u32 stride, bool cullall)
|
||||
{
|
||||
// The software renderer needs cullall to be false for zfreeze to work
|
||||
return VertexManagerBase::PrepareForAdditionalData(primitive, count, stride, false);
|
||||
}
|
||||
|
||||
void SWVertexLoader::DrawCurrentBatch(u32 base_index, u32 num_indices, u32 base_vertex)
|
||||
{
|
||||
DebugUtil::OnObjectBegin();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue