mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-06-15 06:58:37 +02:00
Renderer: Move cull mode to a rasterization state object
Also moves logic for primitive handling to VideoCommon.
This commit is contained in:
@ -27,7 +27,9 @@ void FlushPipeline()
|
||||
|
||||
void SetGenerationMode()
|
||||
{
|
||||
g_renderer->SetGenerationMode();
|
||||
RasterizationState state = {};
|
||||
state.Generate(bpmem, g_vertex_manager->GetCurrentPrimitiveType());
|
||||
g_renderer->SetRasterizationState(state);
|
||||
}
|
||||
|
||||
void SetScissor()
|
||||
|
Reference in New Issue
Block a user