]> git.lizzy.rs Git - dragonfireclient.git/commitdiff
Fix style
authornumzero <numzer0@yandex.ru>
Sun, 22 Nov 2020 22:04:31 +0000 (01:04 +0300)
committerlhofhansl <larsh@apache.org>
Thu, 26 Nov 2020 20:49:10 +0000 (12:49 -0800)
src/client/sky.cpp

index 0fccf067c7300eb46553227fff5114cfc500a944..180d43066ac37cbeca8c70024a1e66d7f5db3488 100644 (file)
@@ -35,7 +35,8 @@ with this program; if not, write to the Free Software Foundation, Inc.,
 #include "config.h"
 using namespace irr::core;
 
-static video::SMaterial baseMaterial() {
+static video::SMaterial baseMaterial()
+{
        video::SMaterial mat;
        mat.Lighting = false;
 #if ENABLE_GLES
@@ -836,7 +837,8 @@ void Sky::setStarCount(u16 star_count, bool force_update)
        }
 }
 
-void Sky::updateStars() {
+void Sky::updateStars()
+{
        m_stars.reset(new scene::SMeshBuffer());
        // Stupid IrrLicht doesn’t allow non-indexed rendering, and indexed quad
        // rendering is slow due to lack of hardware support. So as indices are