disable per-pixel renderer on OSX

This commit is contained in:
Flyinghead 2019-05-17 20:05:01 +02:00
parent 433590b610
commit 74844c8940
1 changed files with 4 additions and 0 deletions

View File

@ -943,7 +943,11 @@ static void gui_display_settings()
{
ImGui::PushStyleVar(ImGuiStyleVar_FramePadding, normal_padding);
int renderer = settings.pvr.rend == 3 ? 2 : settings.rend.PerStripSorting ? 1 : 0;
#if HOST_OS != OS_DARWIN
bool has_per_pixel = !gl.is_gles && gl.gl_major >= 4;
#else
bool has_per_pixel = false;
#endif
if (ImGui::CollapsingHeader("Transparent Sorting", ImGuiTreeNodeFlags_DefaultOpen))
{
ImGui::Columns(has_per_pixel ? 3 : 2, "renderers", false);