mirror of
https://github.com/Lime3DS/Lime3DS
synced 2024-12-27 01:22:37 -06:00
clang-format fix
This commit is contained in:
parent
922a5f738a
commit
ed48f8accf
3 changed files with 7 additions and 4 deletions
|
@ -115,7 +115,8 @@ void Config::ReadValues() {
|
|||
// Separable shader is broken on macos with Intel GPU thanks to poor drivers.
|
||||
// We still want to provide this option for test/development purposes, but disable it by
|
||||
// default.
|
||||
Settings::values.separable_shader = sdl2_config->GetBoolean("Renderer", "separable_shader", false);
|
||||
Settings::values.separable_shader =
|
||||
sdl2_config->GetBoolean("Renderer", "separable_shader", false);
|
||||
#endif
|
||||
Settings::values.shaders_accurate_mul =
|
||||
sdl2_config->GetBoolean("Renderer", "shaders_accurate_mul", false);
|
||||
|
|
|
@ -433,10 +433,11 @@ void Config::ReadRendererValues() {
|
|||
ReadSetting(QStringLiteral("use_hw_renderer"), true).toBool();
|
||||
Settings::values.use_hw_shader = ReadSetting(QStringLiteral("use_hw_shader"), true).toBool();
|
||||
#ifdef __APPLE__
|
||||
// Hardware shader is broken on macos thanks to poor drivers.
|
||||
// Hardware shader is broken on macos with Intel GPUs thanks to poor drivers.
|
||||
// We still want to provide this option for test/development purposes, but disable it by
|
||||
// default.
|
||||
Settings::values.separable_shader = ReadSetting(QStringLiteral("separable_shader"), false).toBool();
|
||||
Settings::values.separable_shader =
|
||||
ReadSetting(QStringLiteral("separable_shader"), false).toBool();
|
||||
#endif
|
||||
Settings::values.shaders_accurate_mul =
|
||||
ReadSetting(QStringLiteral("shaders_accurate_mul"), false).toBool();
|
||||
|
|
|
@ -37,7 +37,8 @@ ConfigureGraphics::ConfigureGraphics(QWidget* parent)
|
|||
if (state == Qt::Checked) {
|
||||
QMessageBox::warning(
|
||||
this, tr("Hardware Shader Warning"),
|
||||
tr("Separable Shader support is broken on macOS with Intel GPUs, and will cause graphical issues "
|
||||
tr("Separable Shader support is broken on macOS with Intel GPUs, and will cause "
|
||||
"graphical issues "
|
||||
"like showing a black screen.<br><br>The option is only there for "
|
||||
"test/development purposes. If you experience graphical issues with Hardware "
|
||||
"Shader, please turn it off."));
|
||||
|
|
Loading…
Reference in a new issue