Renderer: Move cull mode to a rasterization state object
Also moves logic for primitive handling to VideoCommon.
This commit is contained in:
1 parent
2869c570f1
commit
836b9b9acb
38 files changed
+389
-450
No files matched your search
@@ -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