mirror of
https://github.com/skyline-emu/skyline.git
synced 2024-12-28 09:35:29 +03:00
Restore previous cullMode when cullFace is enabled
This commit is contained in:
parent
15e9fa1c80
commit
5b97b87503
@ -1306,7 +1306,9 @@ namespace skyline::gpu::interconnect {
|
||||
|
||||
void SetCullFaceEnabled(bool enabled) {
|
||||
cullFaceEnabled = enabled;
|
||||
if (!enabled)
|
||||
if (enabled)
|
||||
rasterizerState.get<vk::PipelineRasterizationStateCreateInfo>().cullMode = cullMode;
|
||||
else
|
||||
rasterizerState.get<vk::PipelineRasterizationStateCreateInfo>().cullMode = {};
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user