No functional changes. Credit gcu
authorZeno- <kde.psych@gmail.com>
Tue, 22 Nov 2016 15:23:34 +0000 (01:23 +1000)
committerGitHub <noreply@github.com>
Tue, 22 Nov 2016 15:23:34 +0000 (01:23 +1000)
This merge doesn't make any functional changes. It's a trivial style fix so that @gregorycu can be dual credited along with shadowninja for PR #4800

src/shader.cpp

index 170b0354d27574a9b386b46c4171b11b9a14f329..d51c1e3087e63f5322878502ad611229ab39bdc8 100644 (file)
@@ -557,7 +557,7 @@ ShaderInfo generate_shader(std::string name, u8 material_type, u8 drawtype,
        }
 
        bool enable_shaders = g_settings->getBool("enable_shaders");
-       if(!enable_shaders)
+       if (!enable_shaders)
                return shaderinfo;
 
        video::IVideoDriver* driver = device->getVideoDriver();