Merge remote-tracking branch 'origin/merge-into-atys' into yubo

fix_opengl_on_mac
Ulukyn 5 years ago
commit 422a8bb744

@ -556,11 +556,11 @@ void clearBuffers()
}
// Sky is used to clear the frame buffer now, but if in line or point polygon mode, we should draw it
if (Driver->getPolygonMode() != UDriver::Filled)
if (Driver->getPolygonMode() != UDriver::Filled || !Filter3D[FilterSky])
{
if (!Driver->isLost())
{
Driver->clearBuffers (CRGBA(127, 127, 127));
Driver->clearBuffers (ClientCfg.BGColor);
}
}
}

Loading…
Cancel
Save