forked from dolphin-emu/dolphin
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