summaryrefslogtreecommitdiff
path: root/plugins
diff options
authorEleni Maria Stea <elenimaria.stea@canonical.com>2017-02-27 13:28:09 +0200
committerEleni Maria Stea <elenimaria.stea@canonical.com>2017-02-27 13:28:09 +0200
commitc5c8502d7625b9dc935cf671da6076a413e5f015 (patch)
tree0acf4b81b1d886a61b7f5e1c1664b13c20ff23bf /plugins
parent60e97497f7d4c17e5e7df9ed75459439323a03b2 (diff)
fixed indentation
(bzr r4213.3.7)
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)