summaryrefslogtreecommitdiff
path: root/plugins
diff options
Diffstat (limited to 'plugins')
-rw-r--r--plugins/unityshell/src/unityshell.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/plugins/unityshell/src/unityshell.cpp b/plugins/unityshell/src/unityshell.cpp
index d0edb4374..b545838eb 100644
--- a/plugins/unityshell/src/unityshell.cpp
+++ b/plugins/unityshell/src/unityshell.cpp
@@ -294,13 +294,13 @@ UnityScreen::UnityScreen(CompScreen* screen)
//In case of software rendering then enable lowgfx mode.
std::string renderer = ANSI_TO_TCHAR(NUX_REINTERPRET_CAST(const char *, glGetString(GL_RENDERER)));
if (renderer.find("Software Rasterizer") != std::string::npos ||
- renderer.find("Mesa X11") != std::string::npos ||
- renderer.find("llvmpipe") != std::string::npos ||
- renderer.find("softpipe") != std::string::npos ||
- (getenv("UNITY_LOW_GFX_MODE") != NULL && atoi(getenv("UNITY_LOW_GFX_MODE")) == 1)
+ renderer.find("Mesa X11") != std::string::npos ||
+ renderer.find("llvmpipe") != std::string::npos ||
+ renderer.find("softpipe") != std::string::npos ||
+ (getenv("UNITY_LOW_GFX_MODE") != NULL && atoi(getenv("UNITY_LOW_GFX_MODE")) == 1)
)
{
- unity_settings_.low_gfx = true;
+ unity_settings_.low_gfx = true;
}
if (getenv("UNITY_LOW_GFX_MODE") != NULL && atoi(getenv("UNITY_LOW_GFX_MODE")) == 0)