mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2026-04-23 13:00:24 -05: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