Skip to content
Permalink
Browse files

VideoCommon/RenderBase: Disable backculling for ImGui

  • Loading branch information...
spycrab committed Mar 21, 2019
1 parent 61350b3 commit 8cfbbbe9dc49186b40d5c2a3edc0e7e6d7059191
Showing with 1 addition and 2 deletions.
  1. +1 −2 Source/Core/VideoCommon/RenderBase.cpp
@@ -979,8 +979,7 @@ bool Renderer::InitializeImGui()
pconfig.vertex_format = m_imgui_vertex_format.get();
pconfig.vertex_shader = vertex_shader.get();
pconfig.pixel_shader = pixel_shader.get();
pconfig.rasterization_state =
RenderState::GetCullBackFaceRasterizationState(PrimitiveType::Triangles);
pconfig.rasterization_state = RenderState::GetNoCullRasterizationState(PrimitiveType::Triangles);
pconfig.depth_state = RenderState::GetNoDepthTestingDepthState();
pconfig.blending_state = RenderState::GetNoBlendingBlendState();
pconfig.blending_state.blendenable = true;

0 comments on commit 8cfbbbe

Please sign in to comment.
You can’t perform that action at this time.