mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 05:09:34 -06:00
Software: Fix zfreeze with CullMode::All
This commit is contained in:
@ -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();
|
||||
|
Reference in New Issue
Block a user